From 1488f1cbb29d9605e14621982e1450e5801a8fa2 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 9 Jan 2018 09:55:51 +0100 Subject: Workon forms layout --- ishtar_common/static/js/ishtar.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/static/js') diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index 026151953..31621502d 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -293,6 +293,10 @@ function load_window(url, speed, on_success){ $("#window").append(html); } $("#"+last_window).show(); + // jump to this window + var url = location.href; + location.href = "#" + last_window; + history.replaceState(null, null, url); if (on_success) on_success(); }, error:function(XMLHttpRequest, textStatus, errorThrows){ -- cgit v1.2.3