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
Paul Graydon
erp5
Commits
98c47483
Commit
98c47483
authored
Nov 16, 2016
by
Xiaowu Zhang
Committed by
Xiaowu Zhang
Nov 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epr5_web_renderjs_ui: useless code
parent
f7427a7c
Changes
4
Show 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 @@
...
@@ -18,7 +18,6 @@
// Acquired methods
// Acquired methods
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
translateHtml
"
,
"
translateHtml
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
...
@@ -66,8 +65,7 @@
...
@@ -66,8 +65,7 @@
.
push
(
function
(
result_list
)
{
.
push
(
function
(
result_list
)
{
var
i
,
var
i
,
document_list
=
[],
document_list
=
[],
document_dict
=
{},
document_dict
=
{};
result_html
;
for
(
i
=
0
;
i
<
result_list
.
length
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
result_list
.
length
;
i
+=
1
)
{
document_dict
[
result_list
[
i
][
2
]]
=
{
document_dict
[
result_list
[
i
][
2
]]
=
{
...
@@ -82,15 +80,9 @@
...
@@ -82,15 +80,9 @@
}
}
}
}
result_html
=
table_template
({
gadget
.
element
.
querySelector
(
'
.document_list
'
).
innerHTML
=
table_template
({
documentlist
:
document_list
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
));
}(
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 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<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>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
147
3419443.85
</float>
<float>
147
9305774.67
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_worklist_js.js
View file @
98c47483
...
@@ -78,14 +78,9 @@
...
@@ -78,14 +78,9 @@
count
:
result_list
[
i
][
2
]
count
:
result_list
[
i
][
2
]
});
});
}
}
return
gadget
.
translateHtml
(
table_template
({
gadget
.
element
.
querySelector
(
'
.document_list
'
).
innerHTML
=
table_template
({
documentlist
:
line_list
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 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<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>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
147
3173906.59
</float>
<float>
147
9305907.63
</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