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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matevz Golob
erp5
Commits
c497da3b
Commit
c497da3b
authored
Jun 05, 2015
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: check url's value before create an input
parent
4b9f0fac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_multirelationstringfield_js.xml
...ge_module/rjs_gadget_erp5_multirelationstringfield_js.xml
+5
-4
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_multirelationstringfield_js.xml
View file @
c497da3b
...
@@ -333,9 +333,10 @@ promiseEventListener */\n
...
@@ -333,9 +333,10 @@ promiseEventListener */\n
.declareMethod(\'render\',
function
(options)
{\n
.declareMethod(\'render\',
function
(options)
{\n
var
gadget =
this,\n
var
gadget =
this,\n
i,\n
i,\n
url_list =
options.field_json.relation_item_relative_url,\n
value_list =
options.field_json.value
||
options.field_json.default;\n
value_list =
options.field_json.value
||
options.field_json.default;\n
gadget.props.field_json =
options.field_json
||
{};\n
gadget.props.field_json =
options.field_json
||
{};\n
for
(
i =
0;
i
<
value_list.length;
i
+=
1)
{\n
for
(
i =
0;
i
<
value_list.length
&&
url_list[i]
!==
undefined
;
i
+=
1)
{\n
gadget.props.select_uid_list[i]
=
options.field_json.relation_item_uid[i];\n
gadget.props.select_uid_list[i]
=
options.field_json.relation_item_uid[i];\n
createSingleRelationField(gadget,
i,
true);\n
createSingleRelationField(gadget,
i,
true);\n
}\n
}\n
...
@@ -669,7 +670,7 @@ promiseEventListener */\n
...
@@ -669,7 +670,7 @@ promiseEventListener */\n
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
xiaowu
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -683,7 +684,7 @@ promiseEventListener */\n
...
@@ -683,7 +684,7 @@ promiseEventListener */\n
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
943.1
7846.21046.5051
</string>
</value>
<value>
<string>
943.1
8921.17173.42154
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -701,7 +702,7 @@ promiseEventListener */\n
...
@@ -701,7 +702,7 @@ promiseEventListener */\n
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
143
2631007.67
</float>
<float>
143
3493223.96
</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