Merge "Judge if horizon.datatables.qs is undefined"
This commit is contained in:
commit
489e60ff6b
|
@ -616,7 +616,9 @@ horizon.datatables.update_header_checkbox = function(table) {
|
|||
};
|
||||
|
||||
horizon.datatables.set_table_query_filter = function (parent) {
|
||||
horizon.datatables.qs = {};
|
||||
if (typeof horizon.datatables.qs === "undefined"){
|
||||
horizon.datatables.qs = {};
|
||||
}
|
||||
$(parent).find('table').each(function (index, elm) {
|
||||
var input = $($(elm).find('div.table_search.client input')),
|
||||
table_selector;
|
||||
|
|
Loading…
Reference in New Issue