Commit f37886e5 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Eteri

erp5_officejs: Bookmark manager has Hardcoded "add" command

parent 5af208f6
......@@ -80,6 +80,14 @@
command = search.substr(1);
parameter = "";
}
if (command === "add") {
return gadget.getUrlFor({
page: "add_bookmark",
url_string: parameter
}).push(function (url) {
window.location.href = url;
});
}
query = {
query: '(reference:"' + command + '")'
+ ' AND portal_type:"' + portal_type + '"',
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>960.50255.3559.58845</string> </value>
<value> <string>960.51909.43417.21213</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1500212133.56</float>
<float>1500311903.57</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