Fix taglist-cat multiple ignores multi selection on set value

This commit is contained in:
Hadi Nategh 2016-04-28 08:34:57 +00:00
parent 67faad146f
commit 225f3a4576

View File

@ -650,7 +650,7 @@ var et2_taglist = (function(){ "use strict"; return et2_selectbox.extend([et2_IR
this.taglist.setMaxSelection(this._multiple ? this.options.maxSelection : 1); this.taglist.setMaxSelection(this._multiple ? this.options.maxSelection : 1);
if(!this._multiple && this.taglist.getValue().length > 1) if(!this._multiple && this.taglist.getValue().length > 1)
{ {
this.set_value(this.taglist.getValue()[0]); this.set_value(this.taglist.getValue());
} }
// This changes sizes, so // This changes sizes, so