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
Léo-Paul Géneau
erp5
Commits
4ed7998c
Commit
4ed7998c
authored
Sep 23, 2015
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: rename variable to make sense
parent
f3bc3aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_filtereditor_js.xml
...eItem/web_page_module/rjs_gadget_erp5_filtereditor_js.xml
+13
-13
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_filtereditor_js.xml
View file @
4ed7998c
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
select,\n
select,\n
domain_tree_query = "",\n
domain_tree_query = "",\n
domain_tree_query_list = [],\n
domain_tree_query_list = [],\n
options = gadget.props.
render_
options,\n
options = gadget.props.options,\n
filterforms = gadget.props.element.querySelectorAll(".filterForm"),\n
filterforms = gadget.props.element.querySelectorAll(".filterForm"),\n
and = gadget.props.element.querySelector(".and");\n
and = gadget.props.element.querySelector(".and");\n
operator = and.checked ? "AND" : "OR";\n
operator = and.checked ? "AND" : "OR";\n
...
@@ -375,17 +375,17 @@
...
@@ -375,17 +375,17 @@
value:
"Searchable
Text",\n
value:
"Searchable
Text",\n
text:
"Searchable
Text"\n
text:
"Searchable
Text"\n
});\n
});\n
for
(
i =
0;
i
<
gadget.props.
options
.length;
i
+=
1)
{\n
for
(
i =
0;
i
<
gadget.props.
column_list
.length;
i
+=
1)
{\n
if
(
simple_query.key =
==
gadget.props.
options
[i][0])
{\n
if
(
simple_query.key =
==
gadget.props.
column_list
[i][0])
{\n
default_select =
gadget.props.
options
[i][0];\n
default_select =
gadget.props.
column_list
[i][0];\n
tmp
+=
selected_option_template({\n
tmp
+=
selected_option_template({\n
value:
gadget.props.
options
[i][0],\n
value:
gadget.props.
column_list
[i][0],\n
text:
gadget.props.
options
[i][1]\n
text:
gadget.props.
column_list
[i][1]\n
});\n
});\n
}
else
{\n
}
else
{\n
tmp
+=
option_template({\n
tmp
+=
option_template({\n
value:
gadget.props.
options
[i][0],\n
value:
gadget.props.
column_list
[i][0],\n
text:
gadget.props.
options
[i][1]\n
text:
gadget.props.
column_list
[i][1]\n
});\n
});\n
}\n
}\n
}\n
}\n
...
@@ -488,7 +488,7 @@
...
@@ -488,7 +488,7 @@
while
(domain_tree_container.firstChild)
{\n
while
(domain_tree_container.firstChild)
{\n
domain_tree_container.removeChild(domain_tree_container.firstChild);\n
domain_tree_container.removeChild(domain_tree_container.firstChild);\n
}\n
}\n
this.props.render_options =
options;
\n
\n
this.props.options =
options;\n
this.props.options =
options;\n
gadget.props.tree_path =
[];\n
gadget.props.tree_path =
[];\n
query =
options.form_definition.extended_search
||
"";\n
query =
options.form_definition.extended_search
||
"";\n
...
@@ -501,7 +501,7 @@
...
@@ -501,7 +501,7 @@
var
query_list,\n
var
query_list,\n
domain_tree_map =
result._embedded._view.listbox.domain_tree_map,\n
domain_tree_map =
result._embedded._view.listbox.domain_tree_map,\n
domain_tree_query_list;\n
domain_tree_query_list;\n
gadget.props.
options
=
result._embedded._view.listbox.column_list;\n
gadget.props.
column_list
=
result._embedded._view.listbox.column_list;\n
gadget.props.domain_tree_map =
result._embedded._view.listbox.domain_tree_map;\n
gadget.props.domain_tree_map =
result._embedded._view.listbox.domain_tree_map;\n
if
(query
!==
"")
{\n
if
(query
!==
"")
{\n
query_list =
QueryFactory.create(query);\n
query_list =
QueryFactory.create(query);\n
...
@@ -537,7 +537,7 @@
...
@@ -537,7 +537,7 @@
createDomainTree(gadget);\n
createDomainTree(gadget);\n
}\n
}\n
});\n
});\n
})\n
})\n
\n
\n
/////////////////////////////////////////////////////////////////\n
/////////////////////////////////////////////////////////////////\n
//
declared
services\n
//
declared
services\n
...
@@ -713,7 +713,7 @@
...
@@ -713,7 +713,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
945.61
379.4089.5896
5
</string>
</value>
<value>
<string>
945.61
440.63604.735
5
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -731,7 +731,7 @@
...
@@ -731,7 +731,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
144302
0437.71
</float>
<float>
144302
4276.82
</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