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
1f0ea231
Commit
1f0ea231
authored
Apr 25, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app: cleanup
parent
bbfcacd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
js/erp5_loader.js
js/erp5_loader.js
+3
-10
No files found.
js/erp5_loader.js
View file @
1f0ea231
...
...
@@ -6135,12 +6135,8 @@
return
RSVP
.
all
(
promise_list
)
.
then
(
function
(
response_list
)
{
if
(
!
response_list
[
0
])
{
app
.
util
.
loader
(
""
,
"
status_dict.internal_error
"
,
"
ban-circle
"
);
if
(
!
response_list
[
0
]
&&
promise_list
.
length
!==
0
)
{
app
.
util
.
loader
(
""
,
"
status_dict.internal_error
"
,
"
ban
"
);
}
// just return pass and continue
return
{
...
...
@@ -6926,11 +6922,11 @@
// set values or flag for subordination inside map.element
default
:
kid
.
logic
[
key
]
=
kid
.
logic
[
key
]
||
""
;
if
(
val
.
split
(
"
subordinate_
"
).
length
>
1
)
{
// NOTE: try to get value from state/URL before flagging
// NOTE: must check for equality, otherwise id foo > foofoo
// TODO: this is still super-not-robust... redo!
lookup
=
wrapper
.
property_dict
.
state
.
query
.
query
;
if
(
lookup
&&
lookup
.
indexOf
(
val
)
>
-
1
)
{
new_val
=
lookup
.
split
(
val
)[
1
].
split
(
"
+
"
)[
0
]
...
...
@@ -6943,9 +6939,6 @@
}
}
else
{
kid
.
logic
[
key
]
+=
wrapper
.
property_dict
.
data
.
doc
[
val
];
// if (key === "href") {
// kid.logic[key] = window.encodeURIComponent(kid.logic[key]);
// }
delete
kid
.
logic
.
setParam
[
i
];
}
}
...
...
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