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
c53908f0
Commit
c53908f0
authored
Feb 24, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused code
parent
6fc97cab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
34 deletions
+1
-34
js/erp5_loader.js
js/erp5_loader.js
+1
-34
No files found.
js/erp5_loader.js
View file @
c53908f0
...
...
@@ -8635,40 +8635,7 @@
promise_list
[
j
+
k
]
=
app
.
setContent
(
feature
.
children
[
k
]);
}
}
return
RSVP
.
all
(
promise_list
)
// // TODO: remove all this, should be handled by setContent, but
// // then setContent needs to know where to put things. So if
// // we make a footer, set content should insert it into the page or
// // DOM. End.
// .then (function (response_list) {
// var target, l, container, i18n;
//
// // create a fragment for promises
// target = document.createDocumentFragment();
//
// for (l = 0; l < response_list.length; l += 1) {
// container = response_list[l];
// // exclude undefined promises (i18n)
// if (container && container.nodeName) {
//
// // translate
// if (i18n) {
// map.actions.translateNodeList(container);
// }
//
// // insert panel as first child into DOM
// if (util.testForString("ui-panel", container.className)) {
// document.body.insertBefore(
// container,
// document.body.children[0]
// );
// } else {
// target.appendChild(container);
// }
// }
// document.body.appendChild(target);
// }
// });
return
RSVP
.
all
(
promise_list
);
}
};
...
...
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