Commit d8be8355 authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs_jquery_app] Add Image preview in Image Editor view

parent 26884dc1
...@@ -198,6 +198,8 @@ gadget_erp5_sort_editor.js\n ...@@ -198,6 +198,8 @@ gadget_erp5_sort_editor.js\n
gadget_erp5_field_password.html\n gadget_erp5_field_password.html\n
gadget_erp5_field_password.js\n gadget_erp5_field_password.js\n
\n \n
gadget_erp5_field_image.html\n
gadget_erp5_field_image.js\n
gadget_officejs_image_editor_router.html\n gadget_officejs_image_editor_router.html\n
gadget_officejs_jio_image_view.html\n gadget_officejs_jio_image_view.html\n
gadget_officejs_jio_image_view.js\n gadget_officejs_jio_image_view.js\n
...@@ -346,7 +348,7 @@ NETWORK:\n ...@@ -346,7 +348,7 @@ NETWORK:\n
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.10686.10882.5973</string> </value> <value> <string>961.30792.56927.40004</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -364,7 +366,7 @@ NETWORK:\n ...@@ -364,7 +366,7 @@ NETWORK:\n
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1502956919.7</float> <float>1503306177.8</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
"editable": editable, "editable": editable,
"key": "text_content", "key": "text_content",
"hidden": 0, "hidden": 0,
"type": editable === 1 ? "GadgetField" : "EditorField", "type": editable === 1 ? "GadgetField" : "ImageField",
"url": "../officejs_image_editor_gadget/app/", "url": "../officejs_image_editor_gadget/app/",
"sandbox": "iframe" "sandbox": "iframe"
} }
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.12101.11676.29115</string> </value> <value> <string>961.16277.24517.44253</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1502094301.01</float> <float>1503306120.68</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