summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-11-16 17:55:00 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-11-28 11:40:16 +0100
commitcfcbb04a4c2eb4cd587f34826f2ce69ff6025312 (patch)
treee96f14eb96dd0c44aa0d5e5b8b4f9e8aa2cd110d /ishtar_common/templates/blocks
parent948d624874bee030a03d63c114a5040113ef694c (diff)
downloadIshtar-cfcbb04a4c2eb4cd587f34826f2ce69ff6025312.tar.bz2
Ishtar-cfcbb04a4c2eb4cd587f34826f2ce69ff6025312.zip
Wizard: display selected on final wizard panel
Diffstat (limited to 'ishtar_common/templates/blocks')
-rw-r--r--ishtar_common/templates/blocks/DataTables.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html
index e1966787b..096650115 100644
--- a/ishtar_common/templates/blocks/DataTables.html
+++ b/ishtar_common/templates/blocks/DataTables.html
@@ -194,7 +194,8 @@ jQuery(document).ready(function(){
],
"initComplete": function(settings, json) {
var api = new $.fn.dataTable.Api(settings);
- dt_single_enable_disable_submit_button(null, api);
+ {% if not multiple_select %}dt_single_enable_disable_submit_button(null, api);
+ {% else %}dt_multi_enable_disable_submit_button(null, api);{% endif %}
}
};
@@ -207,6 +208,9 @@ jQuery(document).ready(function(){
{% if not multiple_select %}
datatable_{{sname}}.on('select', dt_single_enable_disable_submit_button);
datatable_{{sname}}.on('deselect', dt_single_enable_disable_submit_button);
+ {% else %}
+ datatable_{{sname}}.on('select', dt_multi_enable_disable_submit_button);
+ datatable_{{sname}}.on('deselect', dt_multi_enable_disable_submit_button);
{% endif %}
{% if multiple %}