Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
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
Show 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,12 +8002,19 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
...
@@ -8002,12 +8002,19 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
.push(function
(evt)
{\n
.push(function
(evt)
{\n
var
form_data =
JSON.parse(evt.target.result),\n
var
form_data =
JSON.parse(evt.target.result),\n
data =
new
FormData(),\n
data =
new
FormData(),\n
i,\n
key;\n
key;\n
for
(key
in
form_data)
{\n
for
(key
in
form_data)
{\n
if
(form_data.hasOwnProperty(key))
{\n
if
(form_data.hasOwnProperty(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
data.append(key,
form_data[key]);\n
}\n
}\n
}\n
}\n
}\n
return
jIO.util.ajax({\n
return
jIO.util.ajax({\n
"type":
"POST",\n
"type":
"POST",\n
"url":
name,\n
"url":
name,\n
...
@@ -9252,7 +9259,7 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
...
@@ -9252,7 +9259,7 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<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>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -9270,7 +9277,7 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
...
@@ -9270,7 +9277,7 @@ Query.searchTextToRegExp = searchTextToRegExp;\n
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
143
0410922.96
</float>
<float>
143
2304271.29
</float>
<string>
GMT
</string>
<string>
GMT
</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