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
Labels
Merge Requests
137
Merge Requests
137
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
98c47483
Commit
98c47483
authored
Nov 16, 2016
by
Xiaowu Zhang
Committed by
Xiaowu Zhang
Nov 22, 2016
4
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epr5_web_renderjs_ui: useless code
parent
f7427a7c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
21 deletions
+8
-21
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_history_js.js
...teItem/web_page_module/rjs_gadget_erp5_page_history_js.js
+2
-10
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_history_js.xml
...eItem/web_page_module/rjs_gadget_erp5_page_history_js.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_worklist_js.js
...eItem/web_page_module/rjs_gadget_erp5_page_worklist_js.js
+2
-7
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_worklist_js.xml
...Item/web_page_module/rjs_gadget_erp5_page_worklist_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_history_js.js
View file @
98c47483
...
...
@@ -18,7 +18,6 @@
// Acquired methods
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
translateHtml
"
,
"
translateHtml
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
...
...
@@ -66,8 +65,7 @@
.
push
(
function
(
result_list
)
{
var
i
,
document_list
=
[],
document_dict
=
{},
result_html
;
document_dict
=
{};
for
(
i
=
0
;
i
<
result_list
.
length
;
i
+=
1
)
{
document_dict
[
result_list
[
i
][
2
]]
=
{
...
...
@@ -82,15 +80,9 @@
}
}
result_html
=
table_template
({
gadget
.
element
.
querySelector
(
'
.document_list
'
).
innerHTML
=
table_template
({
documentlist
:
document_list
});
return
gadget
.
translateHtml
(
result_html
);
})
.
push
(
function
(
my_translated_html
)
{
gadget
.
element
.
querySelector
(
'
.document_list
'
).
innerHTML
=
my_translated_html
;
});
});
}(
window
,
rJS
,
RSVP
,
Handlebars
,
SimpleQuery
,
ComplexQuery
,
Query
));
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_history_js.xml
View file @
98c47483
...
...
@@ -230,7 +230,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
3.52380.29788.47923
</string>
</value>
<value>
<string>
95
5.20852.55883.22442
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>
147
3419443.85
</float>
<float>
147
9305774.67
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_worklist_js.js
View file @
98c47483
...
...
@@ -78,14 +78,9 @@
count
:
result_list
[
i
][
2
]
});
}
return
gadget
.
translateHtml
(
table_template
({
gadget
.
element
.
querySelector
(
'
.document_list
'
).
innerHTML
=
table_template
({
documentlist
:
line_list
}));
})
.
push
(
function
(
my_translated_html
)
{
gadget
.
element
.
querySelector
(
'
.document_list
'
).
innerHTML
=
my_translated_html
;
});
});
});
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_worklist_js.xml
View file @
98c47483
...
...
@@ -230,7 +230,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
49.45349.17509.30190
</string>
</value>
<value>
<string>
9
55.18006.50413.2645
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>
147
3173906.59
</float>
<float>
147
9305907.63
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
Tomáš Peterka
@katomaso
mentioned in commit
98b1db9e
·
Apr 03, 2018
mentioned in commit
98b1db9e
mentioned in commit 98b1db9ed7b13ab5c25394ce15250f56fd54377c
Toggle commit list
Tomáš Peterka
@katomaso
mentioned in merge request
!620 (merged)
·
Apr 03, 2018
mentioned in merge request
!620 (merged)
mentioned in merge request !620
Toggle commit list
Tomáš Peterka
@katomaso
mentioned in commit
19049a03
·
Apr 03, 2018
mentioned in commit
19049a03
mentioned in commit 19049a031eba610c50771dfc70f0f510f6f0788f
Toggle commit list
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