Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
ff829633
Commit
ff829633
authored
Feb 26, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: gadget_html5_element add support for href attribute
parent
eecda1b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_element_js.js
...mplateItem/web_page_module/rjs_gadget_html5_element_js.js
+5
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_element_js.xml
...plateItem/web_page_module/rjs_gadget_html5_element_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_element_js.js
View file @
ff829633
...
...
@@ -11,6 +11,7 @@
id
:
undefined
,
name
:
undefined
,
src
:
undefined
,
href
:
undefined
,
alt
:
undefined
,
append
:
''
,
prepend
:
''
...
...
@@ -23,6 +24,7 @@
id
:
options
.
id
,
tag
:
options
.
tag
||
'
div
'
,
src
:
options
.
src
,
href
:
options
.
href
,
alt
:
options
.
alt
,
name
:
options
.
name
,
append
:
getFirstNonEmpty
(
options
.
append
,
""
),
...
...
@@ -60,6 +62,9 @@
if
(
this
.
state
.
src
)
{
new_element
.
setAttribute
(
'
src
'
,
this
.
state
.
src
);
}
if
(
this
.
state
.
href
)
{
new_element
.
setAttribute
(
'
href
'
,
this
.
state
.
href
);
}
if
(
this
.
state
.
alt
)
{
new_element
.
setAttribute
(
'
alt
'
,
this
.
state
.
alt
);
}
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_element_js.xml
View file @
ff829633
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
6.41601.40161.17629
</string>
</value>
<value>
<string>
98
9.27523.29749.43383
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
16
01393849.37
</float>
<float>
16
14350654.73
</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