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
Mukul
erp5
Commits
eff65792
Commit
eff65792
authored
Sep 04, 2015
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Do not close if socket is undefined
parent
f90a08d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_websocket_js.xml
...hTemplateItem/web_page_module/rjs_gadget_websocket_js.xml
+5
-3
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_websocket_js.xml
View file @
eff65792
...
...
@@ -231,7 +231,9 @@
})\n
\n
.declareMethod(\'close\', function () {\n
// XXX Of course, this will fail if connection is not open yet...\n
if (this.props.socket === undefined) {\n
return;\n
}\n
this.props.socket.close();\n
delete this.props.socket;\n
});\n
...
...
@@ -374,7 +376,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
945.
18210.63502.24746
</string>
</value>
<value>
<string>
945.
33605.10741.21811
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -392,7 +394,7 @@
</tuple>
<state>
<tuple>
<float>
144
0430322.74
</float>
<float>
144
1353954.68
</float>
<string>
GMT
</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