Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
3fcf6f68
Commit
3fcf6f68
authored
Sep 22, 2015
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: reset selected value for each submit
parent
1fe170dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
...mplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
+4
-3
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
View file @
3fcf6f68
...
...
@@ -526,7 +526,7 @@
})\n
.declareService(function () {\n
var gadget = this,\n
selected_uid_list
= []
,\n
selected_uid_list,\n
hide_form = gadget.props.element.querySelector(".hide_form");\n
/* hide form */\n
loopEventListener(\n
...
...
@@ -543,6 +543,7 @@
checkbox;\n
hide_form_elements = gadget.props.element.querySelectorAll(".hide_form_element");\n
if (hide_form_elements.length > 0) {\n
selected_uid_list = [];\n
for (i = 0; i
< hide_form_elements.length
;
i
+=
1)
{\n
if
(hide_form_elements[i].checked)
{\n
selected_uid_list.push(hide_form_elements[i].parentElement.getAttribute("value"));\n
...
...
@@ -746,7 +747,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
945.5993
3.16005.1488
2
</string>
</value>
<value>
<string>
945.5993
4.39249.452
2
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -764,7 +765,7 @@
</tuple>
<state>
<tuple>
<float>
144293
3675.92
</float>
<float>
144293
4055.69
</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