Commit 587e7e3e authored by Sven Franck's avatar Sven Franck

add check on isGadgetListLoaded for gadgets not in the DOM

parent 41ac1e01
...@@ -611,9 +611,11 @@ var RenderJs = (function () { ...@@ -611,9 +611,11 @@ var RenderJs = (function () {
$(this.getGadgetList()).each( $(this.getGadgetList()).each(
function (index, value) { function (index, value) {
if (value.isReady() === false) { if (value.isReady() === false) {
if(value.dom.closest("body").length) {
result = false; result = false;
} }
} }
}
); );
return result; return result;
} }
......
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