mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Expand what is accepted as a CSV for multi-select. Fixes Permanent time zone preference does not get saved.
This commit is contained in:
parent
34a382be2b
commit
b4b1eee57a
@ -209,7 +209,7 @@ var et2_widget = ClassWithAttributes.extend(
|
||||
|
||||
if(this.id)
|
||||
{
|
||||
this.id = this.id.replace(/\[/g,'[').replace(/]/g,']');
|
||||
//this.id = this.id.replace(/\[/g,'[').replace(/]/g,']');
|
||||
}
|
||||
|
||||
// Add all attributes hidden in the content arrays to the attributes
|
||||
|
@ -427,7 +427,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
},
|
||||
|
||||
set_value: function(_value) {
|
||||
if(typeof _value == "string" && this.options.multiple && _value.match(/^[,0-9A-Za-z]+$/) !== null)
|
||||
if(typeof _value == "string" && this.options.multiple && _value.match(/^[,0-9A-Za-z/-_]+$/) !== null)
|
||||
{
|
||||
_value = _value.split(',');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user