From 491f790a3b9af437d0beba86a944e120bc062cf4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 25 Jun 2010 11:17:28 +0000 Subject: [PATCH] Triggering jQuery's change event manually, when jscalendar updates --- phpgwapi/inc/class.jscalendar.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.jscalendar.inc.php b/phpgwapi/inc/class.jscalendar.inc.php index 8728770516..da9958b7b0 100644 --- a/phpgwapi/inc/class.jscalendar.inc.php +++ b/phpgwapi/inc/class.jscalendar.inc.php @@ -145,7 +145,8 @@ class jscalendar 'Calendar.setup( { inputField : "'.$name.'",'.(!$useicon ? '' : ' - button : "'.$name.'-trigger"').' + button : "'.$name.'-trigger"').', + onUpdate : function(){var input = document.getElementById("'.$name.'"); $(input).change(); } } );