From 76357f34512b28620ee9c203d45169091ab0ab26 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 7 Apr 2014 19:07:10 +0000 Subject: [PATCH] Fix no_filter[2] nextmatch attribute not applied when set in template --- etemplate/js/et2_extension_nextmatch.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 4f95fb80cc..ed9bed4922 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -1492,6 +1492,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], { filter_name = 'filter'; } + this.options['no_'+filter_name] = bool; var filter = this.header[filter_name]; if(filter) @@ -1974,7 +1975,8 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader, var widget_options = { "id": name, "label": this.nextmatch.options.settings[name+"_label"], - "no_lang": lang + "no_lang": lang, + "disabled": this.nextmatch.options['no_'+name] }; // Set select options