Fix taglist doesn't always show current value on load

This commit is contained in:
nathangray 2018-12-05 16:04:46 -07:00
parent 9780858276
commit dd1cefddb2

View File

@ -524,7 +524,7 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
// Value must be a real Array, not an object // Value must be a real Array, not an object
this.input.val(typeof _value == 'object' && _value != null ? jQuery.map(_value,function(value,index){return [value];}) : _value); this.input.val(typeof _value == 'object' && _value != null ? jQuery.map(_value,function(value,index){return [value];}) : _value);
this.input.trigger("liszt:updated"); this.input.trigger("liszt:updated");
this.value = this.input.val(); this.value = _value;
return; return;
} }
if(this.input == null) if(this.input == null)