ColumnSelector: prevent remove widget js error. Fixes #1106

This commit is contained in:
Rob Garrison 2015-12-16 20:11:15 -06:00
parent 03db8eec0e
commit 0648c8025c
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -471,8 +471,8 @@
tsColSel.init(table, c, wo);
},
remove: function(table, c, wo, refreshing) {
if (refreshing) { return; }
var csel = c.selector;
if ( refreshing || !csel ) { return; }
csel.$container.empty();
if (csel.$popup) { csel.$popup.empty(); }
csel.$style.remove();