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
c1770ec7
Commit
c1770ec7
authored
Oct 20, 2015
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Close the panel when the URL changes
parent
23d2ba93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-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
+8
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
...TemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
+5
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
View file @
c1770ec7
...
...
@@ -549,6 +549,12 @@
.push(function () {\n
return increaseLoadingCounter(gadget);\n
})\n
.push(function () {\n
return gadget.getDeclaredGadget(\'panel\');\n
})\n
.push(function (panel_gadget) {\n
return panel_gadget.close();\n
})\n
.push(function () {\n
return gadget.getDeclaredGadget(\'router\');\n
})\n
...
...
@@ -782,7 +788,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
946.36
079.64367.6381
2
</string>
</value>
<value>
<string>
946.36
189.7510.5130
2
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -800,7 +806,7 @@
</tuple>
<state>
<tuple>
<float>
144535
0562.81
</float>
<float>
144535
4882.08
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
View file @
c1770ec7
...
...
@@ -185,6 +185,9 @@
.declareMethod(\'toggle\', function () {\n
this.props.jelement.panel("toggle");\n
})\n
.declareMethod(\'close\', function () {\n
this.props.jelement.panel("close");\n
})\n
\n
.declareMethod(\'render\', function () {\n
return;\n
...
...
@@ -344,7 +347,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
946.3003
1.56342.5324
</string>
</value>
<value>
<string>
946.3003
3.2591.56456
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -362,7 +365,7 @@
</tuple>
<state>
<tuple>
<float>
144
4985342.36
</float>
<float>
144
5354788.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