[metastore] Check for null table on fnAddData
self.fnAddData = function (mData, bRedraw) {
var $t = self.$table;
+ if ($t) {
var aoColumns = $t.data('aoColumns') || [];
$t.data('data', $t.data('data').concat(mData));
if ($('.hue-datatable-search').is(':visible')) {
self.fnSearch($('.hue-datatable-search').find('input').val(), true);
}
+ }
};
self.fnSettings = function () {
