Commit 7d20dd79 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: set the html5 element tooltip

parent 43ea8c0d
Pipeline #17243 failed with stage
......@@ -27,6 +27,7 @@
href: options.href,
alt: options.alt,
name: options.name,
title: options.title,
append: getFirstNonEmpty(options.append, ""),
prepend: getFirstNonEmpty(options.prepend, "")
};
......@@ -68,6 +69,9 @@
if (this.state.alt) {
new_element.setAttribute('alt', this.state.alt);
}
if (this.state.title) {
new_element.setAttribute('title', this.state.title);
}
if (modification_dict.hasOwnProperty("data")) {
data = JSON.parse(modification_dict.data);
for (data_attr in data) {
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>989.27523.29749.43383</string> </value>
<value> <string>991.25772.62050.38894</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>1614350654.73</float>
<float>1626770589.98</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment