Commit f7d9232b authored by Romain Courteaud's avatar Romain Courteaud

[erp5_officejs] Stop breaking browser URL navigation history

Keeping the browser's back button usable is a requirement to keep users happy.
parent ee05c9c4
......@@ -117,7 +117,7 @@ var repair = false;
}),
gadget.install()
.push(function () {
window.location = gadget.props.redirect_url;
window.location.replace(gadget.props.redirect_url);
})
]);
})
......
......@@ -222,7 +222,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>vincent</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>965.43879.3787.59630</string> </value>
<value> <string>967.24634.17714.15001</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1519318873.16</float>
<float>1543506463.01</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