Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
fc1f010b
Commit
fc1f010b
authored
Apr 07, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: show submit error in console
parent
d02269e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_form_js.js
...plateItem/web_page_module/rjs_gadget_erp5_page_form_js.js
+4
-4
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_form_js.xml
...lateItem/web_page_module/rjs_gadget_erp5_page_form_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_form_js.js
View file @
fc1f010b
/*global window, document, rJS, URI, RSVP, jIO, Blob, URL, asBoolean, ensureArray */
/*global window, document, rJS, URI, RSVP, jIO, Blob, URL, asBoolean, ensureArray
, console
*/
/*jslint nomen: true, indent: 2, maxerr: 3 */
/**
Page Form is a top-level gadget (a "Page") taking care of rendering form
and handling data send&receive.
*/
(
function
(
window
,
document
,
rJS
,
URI
,
RSVP
,
jIO
,
Blob
,
URL
,
asBoolean
,
ensureArray
)
{
(
function
(
window
,
document
,
rJS
,
URI
,
RSVP
,
jIO
,
Blob
,
URL
,
asBoolean
,
ensureArray
,
console
)
{
"
use strict
"
;
/*jslint regexp: true*/
...
...
@@ -515,7 +515,7 @@ and handling data send&receive.
.
push
(
null
,
function
(
error
)
{
/** Fail branch of the JIO call. */
var
error_text
=
'
Encountered an unknown error. Try to resubmit.
'
;
console
.
warn
(
error_text
,
error
);
if
(
error
instanceof
RSVP
.
CancellationError
)
{
// CancellationError is thrown on "redirect" to cancel any pending
// promises. Since it is not a failure we rethrow.
...
...
@@ -666,4 +666,4 @@ and handling data send&receive.
});
}(
window
,
document
,
rJS
,
URI
,
RSVP
,
jIO
,
Blob
,
URL
,
asBoolean
,
ensureArray
));
\ No newline at end of file
}(
window
,
document
,
rJS
,
URI
,
RSVP
,
jIO
,
Blob
,
URL
,
asBoolean
,
ensureArray
,
console
));
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_form_js.xml
View file @
fc1f010b
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
99
1.63595.43060.43997
</string>
</value>
<value>
<string>
99
9.25844.45625.48025
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
16
20724931.09
</float>
<float>
16
49336938.64
</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