mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 23:48:28 +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)
|
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
|
// 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) {
|
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(',');
|
_value = _value.split(',');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user