summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/window_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_nav.html')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_nav.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html
index e3ed13f97..63aafb93a 100644
--- a/ishtar_common/templates/ishtar/blocks/window_nav.html
+++ b/ishtar_common/templates/ishtar/blocks/window_nav.html
@@ -2,6 +2,8 @@
<script type="text/javascript">{% localize off %}
var current_url_{{window_id_underscore}};
var reload_window_{{window_id_underscore}} = function() {
+ /* reload put the sheet at the end of list - force other to be close in order to not loose the current sheet */
+ $(".sheet > .collapse").removeClass("show");
load_window(current_url_{{window_id_underscore}},
'', function(){hide_window("{{window_id}}");},
true);
@@ -126,4 +128,4 @@ $(document).ready(function(){
</script>
{% else %}
<h3 class="external-source"><i class="fa fa-globe" aria-hidden="true"></i> {{item.current_source}}</h3>
-{% endif %} \ No newline at end of file
+{% endif %}