diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-09 09:55:51 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-09 09:55:51 +0100 |
commit | 028f25424bf00987856c350c06b6035863120b7a (patch) | |
tree | dcb254dac1a20cfb6cf42624d0a2f86447401de0 /ishtar_common/static/js/ishtar.js | |
parent | 3cbe2d1450a18ccbb0deccb1561c99548cfbb1bb (diff) | |
download | Ishtar-028f25424bf00987856c350c06b6035863120b7a.tar.bz2 Ishtar-028f25424bf00987856c350c06b6035863120b7a.zip |
Workon forms layout
Diffstat (limited to 'ishtar_common/static/js/ishtar.js')
-rw-r--r-- | ishtar_common/static/js/ishtar.js | 4 |
1 files changed, 4 insertions, 0 deletions
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){ |