fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15194] delete date from picker


From: sigurdne
Subject: [Fmsystem-commits] [15194] delete date from picker
Date: Tue, 24 May 2016 13:10:40 +0000 (UTC)

Revision: 15194
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15194
Author:   sigurdne
Date:     2016-05-24 13:10:40 +0000 (Tue, 24 May 2016)
Log Message:
-----------
delete date from picker

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.jqcal.inc.php

Modified: trunk/phpgwapi/inc/class.jqcal.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.jqcal.inc.php      2016-05-24 12:25:05 UTC (rev 
15193)
+++ trunk/phpgwapi/inc/class.jqcal.inc.php      2016-05-24 13:10:40 UTC (rev 
15194)
@@ -80,6 +80,10 @@
                                        buttonImage: "{$this->img_cal}",
                                        buttonText: "{$this->lang_select_date}",
                                        buttonImageOnly: true
+                               }).keyup(function(e) {
+                                       if(e.keyCode == 8 || e.keyCode == 46) {
+                                               $.datepicker._clearDate(this);
+                                       }
                                });
                            $('#ui-datepicker-div').draggable();
                        });




reply via email to

[Prev in Thread] Current Thread [Next in Thread]