summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-16 11:10:36 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-16 11:10:36 +0100
commit026b8ae126f2fab71bdb306e73fc01b37b306b84 (patch)
treebadd2a2c25d00d9c920f3f1c9a9b65066cb13c10 /ishtar_common/templates/ishtar
parent7b1670001be8c7198c5c6b1ed0a19adaf7fee8c9 (diff)
downloadIshtar-026b8ae126f2fab71bdb306e73fc01b37b306b84.tar.bz2
Ishtar-026b8ae126f2fab71bdb306e73fc01b37b306b84.zip
UI: Fix search
Diffstat (limited to 'ishtar_common/templates/ishtar')
-rw-r--r--ishtar_common/templates/ishtar/sheet.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/ishtar_common/templates/ishtar/sheet.html b/ishtar_common/templates/ishtar/sheet.html
index 4f118f2f9..80bb1d4d1 100644
--- a/ishtar_common/templates/ishtar/sheet.html
+++ b/ishtar_common/templates/ishtar/sheet.html
@@ -1,8 +1,4 @@
-{% load i18n %}
-{% block main_head %}
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+{% load i18n %}{% block main_head %}<html lang="en">
<head>
<title>{% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %}
</title>
@@ -76,11 +72,13 @@
}
jQuery(".next_page").click(function() {
load_window("{{current_window_url}}" + get_next_table_id({{item.pk}}) + "/",
- '', function(){$("#{{window_id}}").remove();});
+ '', function(){$("#{{window_id}}").remove();},
+ true);
});
jQuery(".previous_page").click(function() {
load_window("{{current_window_url}}" + get_previous_table_id({{item.pk}}) + "/",
- '', function(){$("#{{window_id}}").remove();});
+ '', function(){$("#{{window_id}}").remove();},
+ true);
});
});
</script>