diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-07-04 17:31:14 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-07-04 17:34:50 +0200 |
commit | eaf0393eabd7089247b152897465b186b92be86f (patch) | |
tree | 8be87532d26e0a9c7f589810fe2ece50eaa1c242 /ishtar_common/templates/ishtar/sheet.html | |
parent | 7a7da8e6cbd7121d2c1d121b3ba595d276241a60 (diff) | |
download | Ishtar-eaf0393eabd7089247b152897465b186b92be86f.tar.bz2 Ishtar-eaf0393eabd7089247b152897465b186b92be86f.zip |
✨ sheet: add a refresh button to update informations
Diffstat (limited to 'ishtar_common/templates/ishtar/sheet.html')
-rw-r--r-- | ishtar_common/templates/ishtar/sheet.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/sheet.html b/ishtar_common/templates/ishtar/sheet.html index f3df2e510..49c06b0a6 100644 --- a/ishtar_common/templates/ishtar/sheet.html +++ b/ishtar_common/templates/ishtar/sheet.html @@ -77,8 +77,8 @@ {% if output != "ODT" and output != "PDF" %} {% block head_sheet %} <script type="text/javascript">{% localize off %} - var last_window='{{window_id}}'; - + var last_window = '{{window_id}}'; + var current_url_{{window_id_underscore}} = "{{current_window_url}}{{item.pk}}/"; jQuery(document).ready(function(){ if (! get_next_table_id("{{item.pk}}")){ jQuery('.next_page').hide(); |