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
968c9cad
Commit
968c9cad
authored
Jun 12, 2015
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: avoid access array's item when array is undefined
parent
dde9c3b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_multirelationstringfield_js.xml
...ge_module/rjs_gadget_erp5_multirelationstringfield_js.xml
+4
-4
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_multirelationstringfield_js.xml
View file @
968c9cad
...
@@ -336,7 +336,7 @@ promiseEventListener */\n
...
@@ -336,7 +336,7 @@ promiseEventListener */\n
url_list =
options.field_json.relation_item_relative_url,\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
&&
url_list[i]
!==
undefined;
i
+=
1)
{\n
for
(
i =
0;
i
<
value_list.length
&&
url_list
!==
undefined
&&
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
...
@@ -670,7 +670,7 @@ promiseEventListener */\n
...
@@ -670,7 +670,7 @@ promiseEventListener */\n
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
<value>
<string>
xiaowu
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -684,7 +684,7 @@ promiseEventListener */\n
...
@@ -684,7 +684,7 @@ promiseEventListener */\n
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
943.
18921.17173.42154
</string>
</value>
<value>
<string>
943.
32225.48051.5563
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -702,7 +702,7 @@ promiseEventListener */\n
...
@@ -702,7 +702,7 @@ promiseEventListener */\n
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
143
3493223.9
6
</float>
<float>
143
4097633.5
6
</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