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
alecs_myu
erp5
Commits
6f74c779
Commit
6f74c779
authored
Nov 26, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Launcher: drop the sub_harder class
This was only used with jquery mobile.
parent
9b0c2be8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
23 deletions
+4
-23
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_html.xml
...ateItem/web_page_module/rjs_gadget_erp5_launcher_html.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
...mplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
+0
-19
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
...plateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_html.xml
View file @
6f74c779
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
67.13407.40041.25821
</string>
</value>
<value>
<string>
9
71.11650.9551.35020
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
15
25095613.1
</float>
<float>
15
40459204.07
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
View file @
6f74c779
...
...
@@ -454,21 +454,6 @@
if
(
result_list
.
length
===
2
)
{
gadget
.
props
.
header_argument_list
.
right_title
=
result_list
[
1
];
}
// XXX Sven hack: number of _url determine padding for
// subheader on ui-content
var
key
,
count
=
0
;
for
(
key
in
gadget
.
props
.
header_argument_list
)
{
if
(
gadget
.
props
.
header_argument_list
.
hasOwnProperty
(
key
))
{
if
(
key
.
indexOf
(
'
_url
'
)
>
-
1
)
{
count
+=
1
;
}
}
}
if
(
count
>
2
)
{
gadget
.
props
.
sub_header_class
=
"
ui-has-subheader
"
;
}
});
})
...
...
@@ -577,10 +562,6 @@
if
(
main_gadget
!==
undefined
)
{
var
element
=
gadget
.
props
.
content_element
,
content_container
=
document
.
createDocumentFragment
();
// content_container.className = "ui-content " +
// (gadget.props.sub_header_class || "");
// reset subheader indicator
delete
gadget
.
props
.
sub_header_class
;
// go to the top of the page
window
.
scrollTo
(
0
,
0
);
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
View file @
6f74c779
...
...
@@ -230,7 +230,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
0.25626.47614.53111
</string>
</value>
<value>
<string>
97
1.11649.40314.9062
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>
15
37451374.56
</float>
<float>
15
40458410.99
</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