Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
743b346c
Commit
743b346c
authored
Jul 31, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RenderJs/fix: added loadRecursiveGadgets to async callback
parent
673e359d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
js/plugins/renderjs/renderjs.js
js/plugins/renderjs/renderjs.js
+8
-5
No files found.
js/plugins/renderjs/renderjs.js
View file @
743b346c
...
@@ -119,18 +119,21 @@ var RenderJs = (function () {
...
@@ -119,18 +119,21 @@ var RenderJs = (function () {
if
(
after
)
{
if
(
after
)
{
after
(
self
);
after
(
self
);
}
}
// reset as no longer current gadget
setSelfGadget
(
undefined
);
// a gadget may contain sub gadgets
RenderJs
.
loadRecursiveGadget
(
gadget
);
});
});
}
else
{
}
else
{
gadget
.
empty
().
append
(
data
);
gadget
.
empty
().
append
(
data
);
if
(
after
)
{
if
(
after
)
{
after
(
self
);
after
(
self
);
}
}
}
// reset as no longer current gadget
// reset as no longer current gadget
setSelfGadget
(
undefined
);
setSelfGadget
(
undefined
);
// a gadget may contain sub gadgets
// a gadget may contain sub gadgets
RenderJs
.
loadRecursiveGadget
(
gadget
);
RenderJs
.
loadRecursiveGadget
(
gadget
);
}
},
},
getSelfGadget
:
function
()
{
getSelfGadget
:
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment