summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-11-27 18:14:29 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-11-27 18:15:01 +0100
commite510cab9cd85e9824c6e80ec280b69df5dd7cae6 (patch)
tree6b93265a90dcedcfcb8861b8b59d9cd8c6f2da18 /ishtar_common/templates/ishtar/blocks
parent727587e46c738916a08be018f5afb909c1cce877 (diff)
downloadIshtar-e510cab9cd85e9824c6e80ec280b69df5dd7cae6.tar.bz2
Ishtar-e510cab9cd85e9824c6e80ec280b69df5dd7cae6.zip
JQueryJqGrid replacement by DataTables
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html
index 891cd0f6f..4846d6e4f 100644
--- a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html
+++ b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html
@@ -17,7 +17,9 @@
setTimeout(
function(){
- $("#grid_{{name}}").jqGrid({
+ $("#grid_{{name}}").DataTable();
+ {% comment %}
+ {
url:'{{source|safe}}',
datatype: "json",
mtype: 'GET',
@@ -42,6 +44,7 @@ setTimeout(
}
});
{% if large %}jQuery("#grid_{{name}}").jqGrid('setGridHeight', 272);{% endif %}
+ {% endcomment %}
}, 200);
</script>