From c9c54e38ccf35f1d2f14164ee87ed9063a6e0add Mon Sep 17 00:00:00 2001 From: KreizIT Date: Fri, 8 Aug 2014 14:28:27 +0200 Subject: [PATCH] fix wrong if closure --- htdocs/comm/action/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 0964da3e2b9..1768bb989d4 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -335,8 +335,8 @@ if ($conf->use_javascript_ajax) { $s.='jQuery( "td.sortable" ).sortable({connectWith: ".sortable",placeholder: "ui-state-highlight",items: "div:not(.unsortable)", receive: function( event, ui ) {'; $s.='var frm=jQuery("#move_event");frm.attr("action",ui.item.find("a.cal_event").attr("href")).children("#newdate").val(jQuery(event.target).closest("div").attr("id"));frm.submit();}});'."\n"; - $s.='});' . "\n"; } + $s.='});' . "\n"; $s.='' . "\n"; if (! empty($conf->use_javascript_ajax)) {