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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
erp5
Commits
d49e4ffd
Commit
d49e4ffd
authored
8 years ago
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: Remove "fail" usage in web page and illustration page view
Use of fail is now a coding crime
parent
a0668dd8
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.js
...ge_module/gadget_officejs_jio_web_illustration_view_js.js
+1
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.js
...m/web_page_module/gadget_officejs_jio_web_page_view_js.js
+1
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.js
View file @
d49e4ffd
...
@@ -145,8 +145,7 @@
...
@@ -145,8 +145,7 @@
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
text_gadget
.
getElement
();
return
text_gadget
.
getElement
();
})
},
function
(
error
)
{
.
fail
(
function
(
error
)
{
var
display_error_element
;
var
display_error_element
;
if
(
error
===
"
Timed out after 5000 ms
"
)
{
if
(
error
===
"
Timed out after 5000 ms
"
)
{
display_error_element
=
display_error_element
=
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.js
View file @
d49e4ffd
...
@@ -146,8 +146,7 @@
...
@@ -146,8 +146,7 @@
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
text_gadget
.
getElement
();
return
text_gadget
.
getElement
();
})
},
function
(
error
)
{
.
fail
(
function
(
error
)
{
var
display_error_element
;
var
display_error_element
;
if
(
error
===
"
Timed out after 5000 ms
"
)
{
if
(
error
===
"
Timed out after 5000 ms
"
)
{
display_error_element
=
display_error_element
=
...
...
This diff is collapsed.
Click to expand it.
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