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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
2f123691
Commit
2f123691
authored
Jan 21, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_project_ui: use the html_viewer
parent
a3f82804
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.js
...em/web_page_module/project_gadget_page_project_page_js.js
+2
-2
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.xml
...m/web_page_module/project_gadget_page_project_page_js.xml
+2
-2
No files found.
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.js
View file @
2f123691
...
@@ -20,7 +20,7 @@ SimpleQuery, ComplexQuery, Query, domsugar*/
...
@@ -20,7 +20,7 @@ SimpleQuery, ComplexQuery, Query, domsugar*/
function
parseHTMLLinks
(
html
,
url
)
{
function
parseHTMLLinks
(
html
,
url
)
{
var
parser
=
new
DOMParser
(),
i
,
var
parser
=
new
DOMParser
(),
i
,
oSerializer
=
new
XMLSerializer
(),
oSerializer
=
new
XMLSerializer
(),
doc
=
parser
.
parseFromString
(
html
,
"
text/html
"
),
doc
=
parser
.
parseFromString
(
html
||
''
,
"
text/html
"
),
link_list
=
doc
.
querySelectorAll
(
"
a
"
);
link_list
=
doc
.
querySelectorAll
(
"
a
"
);
doc
.
querySelector
(
"
head
"
).
appendChild
(
domsugar
(
'
link
'
,
{
doc
.
querySelector
(
"
head
"
).
appendChild
(
domsugar
(
'
link
'
,
{
href
:
"
gadget_erp5_page_project.css
"
,
href
:
"
gadget_erp5_page_project.css
"
,
...
@@ -266,7 +266,7 @@ SimpleQuery, ComplexQuery, Query, domsugar*/
...
@@ -266,7 +266,7 @@ SimpleQuery, ComplexQuery, Query, domsugar*/
web_page_info
=
result_list
[
2
];
web_page_info
=
result_list
[
2
];
if
(
web_page_info
)
{
if
(
web_page_info
)
{
editor
=
result_list
[
1
];
editor
=
result_list
[
1
];
editor
.
render
({
"
editor
"
:
"
fck_editor
"
,
"
editable
"
:
false
,
"
maximize
"
:
true
,
editor
.
render
({
"
editor
"
:
"
fck_editor
"
,
"
editable
"
:
false
,
"
value
"
:
web_page_info
.
content
});
"
value
"
:
web_page_info
.
content
});
}
}
url_parameter_list
=
[
url_parameter_list
=
[
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.xml
View file @
2f123691
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
2.41335.49696.6429
0
</string>
</value>
<value>
<string>
98
9.31808.20170.1227
0
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
584629384.78
</float>
<float>
1
611237159.42
</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