summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/JQueryJqGrid.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-13 12:36:01 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-13 12:36:01 +0200
commit87cd9b259315a7efda4fcd0e31f93caf5cb184cb (patch)
treebf47f8563cfc05edeab89901fdb165c5d5e7cffc /ishtar_common/templates/blocks/JQueryJqGrid.html
parent2fa2c9d11d605ffbaf8ce21b247d88fe1fa8ecca (diff)
parent50162e444ac3f50194318338cfb3b1ad7480f9a8 (diff)
downloadIshtar-87cd9b259315a7efda4fcd0e31f93caf5cb184cb.tar.bz2
Ishtar-87cd9b259315a7efda4fcd0e31f93caf5cb184cb.zip
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'ishtar_common/templates/blocks/JQueryJqGrid.html')
-rw-r--r--ishtar_common/templates/blocks/JQueryJqGrid.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/templates/blocks/JQueryJqGrid.html b/ishtar_common/templates/blocks/JQueryJqGrid.html
index 44f4b0ba8..5972208ee 100644
--- a/ishtar_common/templates/blocks/JQueryJqGrid.html
+++ b/ishtar_common/templates/blocks/JQueryJqGrid.html
@@ -133,7 +133,11 @@ jQuery(document).ready(function(){
{% else %}
jQuery("#submit_form").click(function (){
var mygrid = jQuery("#grid_{{name}}");
+ {% if multiple_select %}
+ jQuery("#hidden_{{name}}").val(mygrid.getGridParam('selarrrow'));
+ {% else %}
jQuery("#hidden_{{name}}").val(mygrid.getGridParam('selrow'));
+ {% endif %}
return true;
});
{% endif %}