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
Frederic Thoma
erp5
Commits
288ff081
Commit
288ff081
authored
Aug 23, 2021
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: clean up
parent
8785ae19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.js
...emplateItem/web_page_module/rjs_gadget_erp5_listbox_js.js
+8
-12
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
...mplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.js
View file @
288ff081
/*jslint indent: 2, maxerr: 3, nomen: true */
/*global window, document, rJS, URI, RSVP, isEmpty, console, domsugar*/
(
function
(
window
,
document
,
rJS
,
URI
,
RSVP
,
isEmpty
,
console
,
domsugar
)
{
(
function
(
window
,
rJS
,
URI
,
RSVP
,
isEmpty
,
console
,
domsugar
)
{
"
use strict
"
;
var
variable
=
{},
...
...
@@ -745,7 +745,6 @@
domsugar
(
"
tfoot
"
)
]),
th_element_list
=
[],
tr_element
,
th_element
;
if
(
gadget
.
state
.
show_select_action
)
{
...
...
@@ -1154,11 +1153,10 @@
loading_element
.
textContent
=
'
(
'
+
pagination_message
+
'
)
'
;
})
.
push
(
function
()
{
var
div
,
var
div
=
domsugar
(
"
div
"
,
{
"
class
"
:
"
graphic-section
"
})
,
gadget_list
=
[],
domain_list
=
JSON
.
parse
(
gadget
.
state
.
domain_list_json
);
div
=
domsugar
(
"
div
"
,
{
"
class
"
:
"
graphic-section
"
});
gadget
.
element
.
appendChild
(
div
);
gadget
.
element
.
insertBefore
(
div
,
gadget
.
element
.
firstChild
);
gadget_list
.
push
(
gadget
.
declareGadget
(
'
gadget_graphic.html
'
,
{
scope
:
'
gadget_graphic
'
,
...
...
@@ -1169,7 +1167,7 @@
div
=
domsugar
(
"
div
"
,
{
"
class
"
:
"
graphic-section
"
+
domain_list
[
i
][
0
]
});
gadget
.
element
.
appendChild
(
div
);
gadget
.
element
.
insertBefore
(
div
,
gadget
.
element
.
firstChild
);
gadget_list
.
push
(
gadget
.
declareGadget
(
'
gadget_graphic.html
'
,
{
scope
:
'
gadget_graphic_
'
+
domain_list
[
i
][
0
],
...
...
@@ -1187,7 +1185,6 @@
group_by
,
group_by_title
,
domain_id
,
layout
,
domain
;
for
(
domain_id
in
domain_dict
)
{
if
(
domain_dict
.
hasOwnProperty
(
domain_id
))
{
...
...
@@ -1245,14 +1242,13 @@
"
title
"
:
"
Quantity
"
}
}
}));
}
return
RSVP
.
all
(
queue_list
);
}));
}
return
RSVP
.
all
(
queue_list
);
}
});
});
});
}
return
result_queue
;
})
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
View file @
288ff081
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
994.1
3949.44825.36573
</string>
</value>
<value>
<string>
994.1
9974.6495.18244
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
1629
394496.1
</float>
<float>
1629
755936.08
</float>
<string>
UTC
</string>
</tuple>
</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