BigW Consortium Gitlab

Commit 99d5838f by Phil Hughes

Only render the list if it is visible

parent 3a54128d
...@@ -58,7 +58,10 @@ require('../window')(function(w){ ...@@ -58,7 +58,10 @@ require('../window')(function(w){
dataLoadingTemplate.outerHTML = self.listTemplate; dataLoadingTemplate.outerHTML = self.listTemplate;
} }
} }
if (!hook.list.hidden) {
hook.list[config.method].call(hook.list, d); hook.list[config.method].call(hook.list, d);
}
}).catch(function(e) { }).catch(function(e) {
throw new droplabAjaxException(e.message || e); throw new droplabAjaxException(e.message || e);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment