Commit 060be692 authored by Romain Courteaud's avatar Romain Courteaud

Revert "erp5_web_renderjs_ui: experiment router absolute url"

This reverts commit 3bea5dc5.
parent c53d68e2
...@@ -193,8 +193,6 @@ ...@@ -193,8 +193,6 @@
prefix = '&'; prefix = '&';
} }
} }
result = new URL(result, window.location.href).href;
console.log('getDisplayUrlFor', result);
return result; return result;
} }
...@@ -248,8 +246,6 @@ ...@@ -248,8 +246,6 @@
// Build URL template to allow getting user information // Build URL template to allow getting user information
result += '{' + prefix + 'n.me}'; result += '{' + prefix + 'n.me}';
} }
result = new URL(result, window.location.href).href;
console.log('getCommandUrlFor', result);
return result; return result;
} }
...@@ -274,13 +270,10 @@ ...@@ -274,13 +270,10 @@
} else { } else {
hash = getCommandUrlFor(gadget, 'error', options); hash = getCommandUrlFor(gadget, 'error', options);
} }
/*
if (absolute_url) { if (absolute_url) {
hash = new URL(hash, window.location.href).href; hash = new URL(hash, window.location.href).href;
} }
*/
// hash = new URL(hash, window.location.href).href;
console.log('getCommandUrlForMethod', hash);
return hash; return hash;
} }
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>981.31978.24115.63214</string> </value> <value> <string>981.4330.60289.19831</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1580308478.72</float> <float>1578649655.03</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