summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/sheet.html
diff options
context:
space:
mode:
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);
});