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
bb34510b
Commit
bb34510b
authored
Jan 05, 2023
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: drop error catchall
Coding crime. See
nexedi/erp5@cbb3b35b
parent
ca983780
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
14 deletions
+7
-14
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_local_controller_js.js
...le/gadget_officejs_controller_page_local_controller_js.js
+5
-12
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_local_controller_js.xml
...e/gadget_officejs_controller_page_local_controller_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_local_controller_js.js
View file @
bb34510b
/*global document, window, rJS, jIO, console */
/*global document, window, rJS, jIO, console
, RSVP
*/
/*jslint nomen: true, indent: 2, maxerr: 10, maxlen: 80 */
(
function
(
document
,
window
,
rJS
,
jIO
,
console
)
{
"
use strict
"
;
rJS
(
window
)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
...
...
@@ -37,10 +36,10 @@
window
.
location
.
host
.
length
;
current_version
=
current_version
.
substr
(
index
);
return
gadget
.
getSettingList
([
"
migration_version
"
,
"
app_view_reference
"
,
"
parent_portal_type
"
,
'
default_view_reference
'
,
'
app_actions
'
])
"
app_view_reference
"
,
"
parent_portal_type
"
,
'
default_view_reference
'
,
'
app_actions
'
])
.
push
(
function
(
setting_list
)
{
app_view
=
options
.
action
||
setting_list
[
1
];
parent_portal_type
=
setting_list
[
2
];
...
...
@@ -135,12 +134,6 @@
scope
:
'
officejs_form_view
'
})
.
push
(
function
(
form_view_gadget
)
{
return
form_view_gadget
.
render
(
gadget
.
state
);
},
function
(
error
)
{
console
.
log
(
error
);
return
gadget
.
notifySubmitted
({
message
:
"
Error rendering view
"
,
status
:
"
error
"
});
})
.
push
(
function
()
{
return
gadget
.
updatePanel
({
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_local_controller_js.xml
View file @
bb34510b
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1005.
28342.42231.36778
</string>
</value>
<value>
<string>
1005.
39859.21918.51370
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
167
2734165.2
</float>
<float>
167
3425174.79
</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