diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-10-10 13:42:18 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-10-14 16:48:37 +0200 |
| commit | 435797a54e4d322a46711f303c2fc1fd5286330e (patch) | |
| tree | 7c209135a17fe9b12fa2e2e844f345debed45d97 /ishtar_common/templates/ishtar/blocks/window_nav.html | |
| parent | 69df0a88eeaafeee81d76a3307e79fe5cad8ecf8 (diff) | |
| download | Ishtar-435797a54e4d322a46711f303c2fc1fd5286330e.tar.bz2 Ishtar-435797a54e4d322a46711f303c2fc1fd5286330e.zip | |
✨ site and operation relations forms refactoring
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_nav.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_nav.html | 4 |
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 %} |
