mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-01 19:09:30 +01:00
Fix toggling multiple display did not reduce value
This commit is contained in:
parent
d1b0c25ae4
commit
f0afe953b7
@ -715,7 +715,11 @@ var et2_taglist = (function(){ "use strict"; return et2_selectbox.extend([et2_IR
|
|||||||
if(this.taglist == null) return;
|
if(this.taglist == null) return;
|
||||||
|
|
||||||
// Switch to multiple if allowed and more than 1 value
|
// Switch to multiple if allowed and more than 1 value
|
||||||
this._set_multiple(this.options.multiple ? values.length > 1 : false);
|
var multiple = this.options.multiple ? values.length > 1 : false;
|
||||||
|
if(multiple !== this._multiple)
|
||||||
|
{
|
||||||
|
this._set_multiple(multiple);
|
||||||
|
}
|
||||||
|
|
||||||
this.taglist.setSelection(values);
|
this.taglist.setSelection(values);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user