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
3c50cd4d
Commit
3c50cd4d
authored
Sep 28, 2015
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: set And operator as default and remove unnecessary code
parent
f5bbbaa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
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
+5
-8
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_filtereditor_js.xml
View file @
3c50cd4d
...
@@ -482,12 +482,7 @@
...
@@ -482,12 +482,7 @@
and =
gadget.props.element.querySelector(".and"),\n
and =
gadget.props.element.querySelector(".and"),\n
or =
gadget.props.element.querySelector(".or"),\n
or =
gadget.props.element.querySelector(".or"),\n
query =
""
;\n
query =
""
;\n
while
(container.firstChild
!==
container.lastChild)
{\n
\n
container.removeChild(container.firstChild);\n
}\n
while
(domain_tree_container.firstChild)
{\n
domain_tree_container.removeChild(domain_tree_container.firstChild);\n
}\n
\n
\n
this.props.options =
options;\n
this.props.options =
options;\n
gadget.props.tree_path =
[];\n
gadget.props.tree_path =
[];\n
...
@@ -518,6 +513,8 @@
...
@@ -518,6 +513,8 @@
container.insertBefore(item,
container.lastChild);\n
container.insertBefore(item,
container.lastChild);\n
}\n
}\n
}
else
{\n
}
else
{\n
and.checked =
true;\n
and.parentElement.children[0].setAttribute("class",
"ui-btn
ui-corner-all
ui-btn-inherit
ui-btn-icon-left
ui-radio-on");\n
container.insertBefore(createFilterItem(gadget),
container.lastChild);\n
container.insertBefore(createFilterItem(gadget),
container.lastChild);\n
}\n
}\n
\n
\n
...
@@ -713,7 +710,7 @@
...
@@ -713,7 +710,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
945.624
59.61529.51251
</string>
</value>
<value>
<string>
945.624
61.33513.45533
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -731,7 +728,7 @@
...
@@ -731,7 +728,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1443
085290.67
</float>
<float>
1443
426358.29
</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