Skip to content

Commit

Permalink
- only ever put GET URLs into the URL bar
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Apr 26, 2019
1 parent fe0de71 commit b597fd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App/dtml/manage_page_footer.dtml
Expand Up @@ -3,7 +3,9 @@
<script>
// Helpers for Menu Handling <dtml-var "REQUEST.URL">
var manage_menu = typeof window.parent.frames!="undefined"&&typeof window.parent.frames.manage_menu!="undefined";
window.parent.history.replaceState('','Main','<dtml-var URL>')
<dtml-if "REQUEST.get('method','') == 'GET'">
window.parent.history.replaceState('','Main','<dtml-var URL>')
</dtml-if>
</script>
</dtml-unless>
</body>
Expand Down

0 comments on commit b597fd7

Please sign in to comment.