ui-theme: use hasWidget function; fixes #1327

This commit is contained in:
Rob Garrison 2016-11-28 10:58:54 -06:00
parent 920dd01baa
commit 793a59d83d

View File

@ -124,7 +124,7 @@
.addClass(themes.icons || '');
}
// filter widget initializes after uitheme
if (c.widgets.indexOf('filter') > -1) {
if (ts.hasWidget( c.table, 'filter' )) {
tmp = function() {
$table.children('thead').children('.' + ts.css.filterRow)
.removeClass(hasOldTheme ? oldtheme.filterRow || '' : '')