fix not working "cat_is_select" === true, for translating options used instead of category-selection

This commit is contained in:
Ralf Becker 2016-02-18 15:50:58 +00:00
parent 33be0555bb
commit c871f25ddb

View File

@ -2348,7 +2348,7 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader,
// Add category
if(!settings.no_cat) {
if (typeof settings.cat_id_label == 'undefined') settings.cat_id_label = '';
this.category = this._build_select('cat_id', 'select-cat', settings.cat_id, true);
this.category = this._build_select('cat_id', 'select-cat', settings.cat_id, settings.cat_is_select !== true);
}
// Filter 1