Commit ad8225e2 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_renderjs_ui: add generic panel which is used to declare gadget inside

parent 929e498b
......@@ -102,7 +102,7 @@
<value> <string encoding="cdata"><![CDATA[
CACHE MANIFEST\n
# generated on 12 Nov 2015 16:31:00 +0000\n
# generated on Fri, 13 Nov 2015 11:50:00 +0000\n
# XXX + fonts\n
# images/ajax-loader.gif\n
CACHE:\n
......@@ -116,6 +116,8 @@ URI.js\n
erp5_launcher.html\n
erp5_launcher.js\n
gadget_erp5.css\n
gadget_erp5_editor_panel.html\n
gadget_erp5_editor_panel.js\n
gadget_erp5_field_checkbox.html\n
gadget_erp5_field_checkbox.js\n
gadget_erp5_field_datetime.html\n
......@@ -334,7 +336,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.3675.43345.17766</string> </value>
<value> <string>947.5050.51365.30634</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -352,7 +354,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1447342304.46</float>
<float>1447420514.96</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -153,6 +153,11 @@
<div data-gadget-url="${jio_gadget}"\n
data-gadget-scope="jio_gadget"\n
data-gadget-sandbox="public"></div>\n
\n
\n
<div data-gadget-url="gadget_erp5_editor_panel.html"\n
data-gadget-scope="editor_panel"\n
data-gadget-sandbox="public"></div>\n
\n
<div data-gadget-url="${panel_gadget}"\n
data-gadget-scope="panel"\n
......@@ -289,7 +294,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>romain</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -303,7 +308,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>945.54056.18010.56797</string> </value>
<value> <string>946.64733.4438.11997</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -321,8 +326,8 @@
</tuple>
<state>
<tuple>
<float>1442581000.11</float>
<string>GMT</string>
<float>1447067588.44</float>
<string>UTC</string>
</tuple>
</state>
</object>
......
......@@ -489,7 +489,9 @@
.allowPublicAcquisition(\'triggerPanel\', function () {\n
return route(this, "panel", "toggle");\n
})\n
\n
.allowPublicAcquisition(\'renderEditorPanel\', function (param_list) {\n
return route(this, "editor_panel", \'render\', param_list);\n
})\n
.allowPublicAcquisition("jio_allDocs", function (param_list) {\n
return callJioGadget(this, "allDocs", param_list);\n
})\n
......@@ -549,6 +551,12 @@
.push(function (panel_gadget) {\n
return panel_gadget.close();\n
})\n
.push(function () {\n
return gadget.getDeclaredGadget(\'editor_panel\');\n
})\n
.push(function (editor_panel) {\n
return editor_panel.close();\n
})\n
.push(function () {\n
return gadget.getDeclaredGadget(\'router\');\n
})\n
......@@ -783,7 +791,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>946.46191.44015.43298</string> </value>
<value> <string>947.3905.58968.48008</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -801,7 +809,7 @@
</tuple>
<state>
<tuple>
<float>1446546583.8</float>
<float>1447351473.68</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