Commit 3b515922 authored by Boxiang Sun's avatar Boxiang Sun Committed by Tristan Cavelier

Revert! erp5_officejs_support_request_ui: fix ckeditor gadget url.

Commit 929ac90a and 0de0acb3 use the text editor from `app.officejs.com`. Which is not same domain as the main application. When Selenium tests run with Firefox. If Firefox visit a page which contains an iframe from another domain, it is unable to redirect to another link and complaints `Permission denied to access property "href"`. In order to make the test get pass on the server with FIrefox. Revert the changes the that two commits which described above.
parent fdf47311
......@@ -185,7 +185,7 @@
})
.declareService(function () {
var gadget = this;
return gadget.declareGadget("https://texteditor.app.officejs.com/d8f869616f/officejs_ckeditor_gadget/app/",
return gadget.declareGadget("officejs_ckeditor_gadget/development/",
{
element: gadget.element.querySelector('.editor'),
sandbox: 'iframe',
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>960.51741.36262.5120</string> </value>
<value> <string>961.46663.24395.45414</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1500301509.14</float>
<float>1504082428.41</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -321,7 +321,7 @@
</item>
<item>
<key> <string>configuration_content_security_policy</string> </key>
<value> <string>default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' data:; script-src \'self\' \'unsafe-eval\'; font-src \'self\'; style-src \'self\' data:; frame-src \'self\' *.app.officejs.com data:</string> </value>
<value> <string>default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' data:; script-src \'self\' \'unsafe-eval\'; font-src \'self\'; style-src \'self\' data:; frame-src \'self\' data:</string> </value>
</item>
<item>
<key> <string>configuration_default_view_action_reference</string> </key>
......@@ -592,7 +592,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.9326.59090.45687</string> </value>
<value> <string>961.46664.19323.17902</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -610,7 +610,7 @@
</tuple>
<state>
<tuple>
<float>1503561733.43</float>
<float>1504082669.35</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -134,7 +134,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>string: https://texteditor.app.officejs.com/d8f869616f/officejs_ckeditor_gadget/app/</string> </value>
<value> <string>python: field.restrictedTraverse("officejs_ckeditor_gadget/development").absolute_url() + "/"</string> </value>
</item>
</dictionary>
</pickle>
......
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