Commit 7409a2cc authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: keep the navigation history after using the logout page

parent 26496528
......@@ -49,7 +49,7 @@
erp5_form: gadget.getDeclaredGadget("erp5_form"),
url_dict: gadget.getUrlForDict({
// Back url
back: {command: 'display'},
back: {command: 'history_previous'},
// Change language
change_language: {command: 'display', options: {page: 'language'}}
})
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>992.849.18457.2065</string> </value>
<value> <string>994.55155.11493.60433</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1620831029.04</float>
<float>1631866791.5</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -33,12 +33,12 @@
<!-- Header has a link to the front page -->
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!display')]</td>
<td>//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!history_previous')]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!display')]</td>
<td>//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!history_previous')]</td>
<td></td>
</tr>
<tr>
......
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