Commit ef4e65ba authored by Lu Xu's avatar Lu Xu 👀

erp5_web_renderjs_ui: add title to state_dict of imagefield

parent c478fa42
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
var field_json = options.field_json || {}, var field_json = options.field_json || {},
state_dict = { state_dict = {
src: field_json.default, src: field_json.default,
alt: field_json.description || field_json.title alt: field_json.description || field_json.title,
title: field_json.title || ""
}; };
return this.changeState(state_dict); return this.changeState(state_dict);
}) })
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.56700.2469.47752</string> </value> <value> <string>994.55473.15370.34986</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1535383453.38</float> <float>1631888233.53</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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