mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-12 09:39:11 +02:00
Make selectbox tags&search available for nextmatch header filter
This commit is contained in:
@ -862,6 +862,16 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
this._appendOptionElement(key, _options[key]);
|
||||
}
|
||||
}
|
||||
// add an empty option for single select tags with empty_label in order
|
||||
// to make allow_single_deselect option to work.
|
||||
if (this.options.empty_label && this.options.tags
|
||||
&& this.options.allow_single_deselect && !this.options.multiple)
|
||||
{
|
||||
var empty_option = jQuery(document.createElement("option"))
|
||||
.attr("value", '');
|
||||
empty_option.prependTo(this.input);
|
||||
}
|
||||
|
||||
this.options.select_options = _options;
|
||||
|
||||
if(this.options.tags || this.options.search)
|
||||
|
Reference in New Issue
Block a user