Commit 7d1d7817 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_officejs: Add phony parameter in research url to put in browser

* having a "?" before the parameter will allow chromium to encode the search parameter
parent 2259e304
......@@ -46,7 +46,7 @@
.push(function (url) {
url = window.location.origin + window.location.pathname
+ url + '&search=%s';
gadget.props.element.getElementsByClassName("search-engine-url")[0].value = url;
gadget.props.element.getElementsByClassName("search-engine-url")[0].value = url.replace("#", "#?foo=&");
return gadget.getSetting("option");
})
.push(function (option_dict) {
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>cedric.le.ninivin</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>960.32743.2629.17442</string> </value>
<value> <string>960.53098.25350.56115</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1499161566.28</float>
<float>1500382833.07</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