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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Vivek
erp5
Commits
4cc953e8
Commit
4cc953e8
authored
Oct 23, 2015
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Keep header refresh in the promise tree.
This will allow to catch possible errors.
parent
3641e27a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
...i/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
+5
-4
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
View file @
4cc953e8
...
@@ -583,8 +583,6 @@
...
@@ -583,8 +583,6 @@
\n
\n
// go to the top of the page\n
// go to the top of the page\n
window.scrollTo(0, 0);\n
window.scrollTo(0, 0);\n
\n
updateHeader(gadget);\n
\n
\n
// Clear first to DOM, append after to reduce flickering/manip\n
// Clear first to DOM, append after to reduce flickering/manip\n
while (element.firstChild) {\n
while (element.firstChild) {\n
...
@@ -600,6 +598,9 @@
...
@@ -600,6 +598,9 @@
input.focus();\n
input.focus();\n
input.select();\n
input.select();\n
}\n
}\n
\n
\n
return updateHeader(gadget);\n
// XXX Drop notification\n
// XXX Drop notification\n
// return header_gadget.notifyLoaded();\n
// return header_gadget.notifyLoaded();\n
});\n
});\n
...
@@ -788,7 +789,7 @@
...
@@ -788,7 +789,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
946.3
6189.7510.5130
2
</string>
</value>
<value>
<string>
946.3
8651.7361.4403
2
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -806,7 +807,7 @@
...
@@ -806,7 +807,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1445
354882.08
</float>
<float>
1445
593354.44
</float>
<string>
GMT
</string>
<string>
GMT
</string>
</tuple>
</tuple>
</state>
</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