mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
propagate width to magic suggest
This commit is contained in:
parent
670598a783
commit
a4f5ea0b00
@ -155,6 +155,8 @@ var et2_taglist = et2_selectbox.extend(
|
|||||||
selectionRenderer: jQuery.proxy(this.options.tagRenderer || this.selectionRenderer,this),
|
selectionRenderer: jQuery.proxy(this.options.tagRenderer || this.selectionRenderer,this),
|
||||||
renderer: jQuery.proxy(this.options.listRenderer || this.selectionRenderer,this),
|
renderer: jQuery.proxy(this.options.listRenderer || this.selectionRenderer,this),
|
||||||
maxSelection: this.options.maxSelection,
|
maxSelection: this.options.maxSelection,
|
||||||
|
maxSelectionRenderer: jQuery.proxy(function(v) { this.egw().lang('You can not choose more then %1 item(s)!', v); }, this),
|
||||||
|
width: this.options.width, // propagate width
|
||||||
highlight: false // otherwise renderer have to return strings
|
highlight: false // otherwise renderer have to return strings
|
||||||
}, this.lib_options);
|
}, this.lib_options);
|
||||||
this.taglist = this.taglist.magicSuggest(options);
|
this.taglist = this.taglist.magicSuggest(options);
|
||||||
|
Loading…
Reference in New Issue
Block a user