Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
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 @@
...
@@ -526,7 +526,7 @@
})\n
})\n
.declareService(function () {\n
.declareService(function () {\n
var gadget = this,\n
var gadget = this,\n
selected_uid_list
= []
,\n
selected_uid_list,\n
hide_form = gadget.props.element.querySelector(".hide_form");\n
hide_form = gadget.props.element.querySelector(".hide_form");\n
/* hide form */\n
/* hide form */\n
loopEventListener(\n
loopEventListener(\n
...
@@ -543,6 +543,7 @@
...
@@ -543,6 +543,7 @@
checkbox;\n
checkbox;\n
hide_form_elements = gadget.props.element.querySelectorAll(".hide_form_element");\n
hide_form_elements = gadget.props.element.querySelectorAll(".hide_form_element");\n
if (hide_form_elements.length > 0) {\n
if (hide_form_elements.length > 0) {\n
selected_uid_list = [];\n
for (i = 0; i
< hide_form_elements.length
;
i
+=
1)
{\n
for (i = 0; i
< hide_form_elements.length
;
i
+=
1)
{\n
if
(hide_form_elements[i].checked)
{\n
if
(hide_form_elements[i].checked)
{\n
selected_uid_list.push(hide_form_elements[i].parentElement.getAttribute("value"));\n
selected_uid_list.push(hide_form_elements[i].parentElement.getAttribute("value"));\n
...
@@ -746,7 +747,7 @@
...
@@ -746,7 +747,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<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>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -764,7 +765,7 @@
...
@@ -764,7 +765,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
144293
3675.92
</float>
<float>
144293
4055.69
</float>
<string>
UTC
</string>
<string>
UTC
</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