Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
56d9eb14
Commit
56d9eb14
authored
Jan 05, 2016
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Improve AJAX error display
Show HTTP status code + description + url + response headers
parent
7add978b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
...i/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
+8
-6
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
View file @
56d9eb14
...
...
@@ -231,10 +231,12 @@
return;\n
}\n
\n
if (error instanceof XMLHttpRequest) {\n
error_text = error.toString() + " " +\n
error.status + " " +\n
error.statusText;\n
if (error.target instanceof XMLHttpRequest) {\n
error_text = error.target.toString() + " " +\n
error.target.status + " " +\n
error.target.statusText + "\\n" +\n
error.target.responseURL + "\\n\\n" +\n
error.target.getAllResponseHeaders();\n
} else if (error instanceof Error) {\n
error_text = error.toString();\n
} else {\n
...
...
@@ -791,7 +793,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
94
7.3905.58968.48008
</string>
</value>
<value>
<string>
94
8.17186.10699.61269
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -809,7 +811,7 @@
</tuple>
<state>
<tuple>
<float>
14
47351473.68
</float>
<float>
14
52007398.41
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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