fix set_value to work after inital load, eg. on a button press

This commit is contained in:
Ralf Becker 2013-08-07 14:52:12 +00:00
parent 27149b237f
commit 99b6fe41e7

View File

@ -280,6 +280,7 @@ var et2_taglist = et2_selectbox.extend(
options.push({id: v, label: v.replace(/&/g, '&amp;').replace(/</g, '&lg;')}); options.push({id: v, label: v.replace(/&/g, '&amp;').replace(/</g, '&lg;')});
} }
this.options.select_options = options; this.options.select_options = options;
if (this.taglist) this.taglist.setData(options);
} }
if(this.taglist == null) return; if(this.taglist == null) return;
this.taglist.clear(true); this.taglist.clear(true);