diff options
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){ |