From 89dbf946703cd63cf0f14531c555ec3c9ae6a87e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 12 Sep 2016 15:05:16 +0200 Subject: Manual merge action (refs #3176) --- ishtar_common/templates/blocks/JQueryJqGrid.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/templates/blocks') 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 %} -- cgit v1.2.3