Commit 743b346c authored by Sven Franck's avatar Sven Franck

RenderJs/fix: added loadRecursiveGadgets to async callback

parent 673e359d
......@@ -119,18 +119,21 @@ var RenderJs = (function () {
if (after) {
after(self);
}
// reset as no longer current gadget
setSelfGadget(undefined);
// a gadget may contain sub gadgets
RenderJs.loadRecursiveGadget(gadget);
});
} else {
gadget.empty().append(data);
if (after) {
after(self);
}
// reset as no longer current gadget
setSelfGadget(undefined);
// a gadget may contain sub gadgets
RenderJs.loadRecursiveGadget(gadget);
}
// reset as no longer current gadget
setSelfGadget(undefined);
// a gadget may contain sub gadgets
RenderJs.loadRecursiveGadget(gadget);
},
getSelfGadget: function () {
......
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