summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/sheet.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-15 16:37:42 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commite3ce9c77d36db4510076b677ec7ce1e0021a51f8 (patch)
treeedb1258d180c35e73a10ab7120c69d81b3925d44 /ishtar_common/templates/ishtar/sheet.html
parent905dfbb0ebb91af7b7acaae256306f178863c57f (diff)
downloadIshtar-e3ce9c77d36db4510076b677ec7ce1e0021a51f8.tar.bz2
Ishtar-e3ce9c77d36db4510076b677ec7ce1e0021a51f8.zip
Syndication - serialization - display sheet operation
Diffstat (limited to 'ishtar_common/templates/ishtar/sheet.html')
-rw-r--r--ishtar_common/templates/ishtar/sheet.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/templates/ishtar/sheet.html b/ishtar_common/templates/ishtar/sheet.html
index b0f82941f..4596d8ec6 100644
--- a/ishtar_common/templates/ishtar/sheet.html
+++ b/ishtar_common/templates/ishtar/sheet.html
@@ -79,19 +79,19 @@
var last_window='{{window_id}}';
jQuery(document).ready(function(){
- if (! get_next_table_id({{item.pk}})){
+ if (! get_next_table_id("{{item.pk}}")){
jQuery('.next_page').hide();
}
- if (! get_previous_table_id({{item.pk}})){
+ if (! get_previous_table_id("{{item.pk}}")){
jQuery('.previous_page').hide();
}
jQuery(".next_page").click(function() {
- load_window("{{current_window_url}}" + get_next_table_id({{item.pk}}) + "/",
+ load_window("{{current_window_url}}" + get_next_table_id("{{item.pk}}") + "/",
'', function(){hide_window("{{window_id}}");},
true);
});
jQuery(".previous_page").click(function() {
- load_window("{{current_window_url}}" + get_previous_table_id({{item.pk}}) + "/",
+ load_window("{{current_window_url}}" + get_previous_table_id("{{item.pk}}") + "/",
'', function(){hide_window("{{window_id}}");},
true);
});