forked from extern/egroupware
Fix no_filter[2] nextmatch attribute not applied when set in template
This commit is contained in:
parent
155316ae16
commit
76357f3451
@ -1492,6 +1492,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
|||||||
{
|
{
|
||||||
filter_name = 'filter';
|
filter_name = 'filter';
|
||||||
}
|
}
|
||||||
|
this.options['no_'+filter_name] = bool;
|
||||||
|
|
||||||
var filter = this.header[filter_name];
|
var filter = this.header[filter_name];
|
||||||
if(filter)
|
if(filter)
|
||||||
@ -1974,7 +1975,8 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader,
|
|||||||
var widget_options = {
|
var widget_options = {
|
||||||
"id": name,
|
"id": name,
|
||||||
"label": this.nextmatch.options.settings[name+"_label"],
|
"label": this.nextmatch.options.settings[name+"_label"],
|
||||||
"no_lang": lang
|
"no_lang": lang,
|
||||||
|
"disabled": this.nextmatch.options['no_'+name]
|
||||||
};
|
};
|
||||||
|
|
||||||
// Set select options
|
// Set select options
|
||||||
|
Loading…
Reference in New Issue
Block a user