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
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
preetwinder
erp5
Commits
f9915b0c
Commit
f9915b0c
authored
Aug 11, 2017
by
preetwinder
Committed by
preetwinder
Aug 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Put error in message if it get fails.
parent
fa581f63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_fbstorage_js.js
...cejs/PathTemplateItem/web_page_module/jio_fbstorage_js.js
+6
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_fbstorage_js.xml
...ejs/PathTemplateItem/web_page_module/jio_fbstorage_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_fbstorage_js.js
View file @
f9915b0c
...
...
@@ -43,10 +43,13 @@
},
function
(
err
)
{
console
.
log
(
'
Ajax fetch for get failed
'
,
err
);
if
(
err
.
messag
e
)
{
return
{
'
message
'
:
err
.
message
};
if
(
err
.
target
.
respons
e
)
{
return
{
'
message
'
:
JSON
.
parse
(
err
.
target
.
response
)
.
message
};
}
});
else
{
return
{
'
message
'
:
''
};
}
});
};
function
paginateResult
(
url
,
result
,
select_list
)
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_fbstorage_js.xml
View file @
f9915b0c
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.22
079.38369.25429
</string>
</value>
<value>
<string>
961.22
178.54709.38690
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
15024
53744.89
</float>
<float>
15024
60122.11
</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