diff options
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/droplab/droplab_ajax.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/javascripts/droplab/droplab_ajax.js b/app/assets/javascripts/droplab/droplab_ajax.js index f20610b3811..a732525e606 100644 --- a/app/assets/javascripts/droplab/droplab_ajax.js +++ b/app/assets/javascripts/droplab/droplab_ajax.js @@ -58,7 +58,10 @@ require('../window')(function(w){ dataLoadingTemplate.outerHTML = self.listTemplate; } } - hook.list[config.method].call(hook.list, d); + + if (!hook.list.hidden) { + hook.list[config.method].call(hook.list, d); + } }).catch(function(e) { throw new droplabAjaxException(e.message || e); }); @@ -76,4 +79,4 @@ module.exports = function(callback) { }; },{}]},{},[1])(1) -});
\ No newline at end of file +}); |