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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
2fffadc2
Commit
2fffadc2
authored
May 26, 2015
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] update jIO
Add support to property array in erp5storage (like listbox_uid:list)
parent
0cb802dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
...nderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
+10
-3
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
View file @
2fffadc2
...
...
@@ -8002,10 +8002,17 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
.push(function
(evt)
{\n
var
form_data =
JSON.parse(evt.target.result),\n
data =
new
FormData(),\n
i,\n
key;\n
for
(key
in
form_data)
{\n
if
(form_data.hasOwnProperty(key))
{\n
data.append(key,
form_data[key]);\n
if
(Array.isArray(form_data[key]))
{\n
for
(
i =
0;
i
<
form_data[key].length;
i
+=
1)
{\n
data.append(key,
form_data[key][i]);\n
}\n
}
else
{\n
data.append(key,
form_data[key]);\n
}\n
}\n
}\n
return
jIO.util.ajax({\n
...
...
@@ -9252,7 +9259,7 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
94
2.40553.20339.32529
</string>
</value>
<value>
<string>
94
3.12409.47687.33177
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -9270,7 +9277,7 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
</tuple>
<state>
<tuple>
<float>
143
0410922.96
</float>
<float>
143
2304271.29
</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