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
bdb62944
Commit
bdb62944
authored
May 15, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug: JSON parse?
parent
08394984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
js/erp5_loader.js
js/erp5_loader.js
+2
-3
No files found.
js/erp5_loader.js
View file @
bdb62944
...
...
@@ -4369,13 +4369,12 @@
"
_attachment
"
:
obj
.
attachment
})
.
then
(
function
(
response
)
{
alert
(
response
)
alert
(
response
.
data
)
alert
(
jIO
.
util
.
readBlobAsText
(
response
.
data
));
return
jIO
.
util
.
readBlobAsText
(
response
.
data
);
})
.
then
(
function
(
answer
)
{
alert
(
answer
)
reply
=
JSON
.
parse
(
answer
.
target
.
result
);
alert
(
reply
)
if
(
obj
.
pass
)
{
return
{
"
response
"
:
reply
,
...
...
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