[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_2-16986-g42341de
    Piotr Przybylski 
    crackpl at users.sourceforge.net
       
    Tue Aug 23 17:44:03 CEST 2011
    
    
  
The branch, master has been updated
       via  42341de5e8dbc88345c583229375cf9943788a02 (commit)
      from  b072a8d47cc80e346c31ccd8d6e6c0e58f39d390 (commit)
- Log -----------------------------------------------------------------
commit 42341de5e8dbc88345c583229375cf9943788a02
Author: Piotr Przybylski <piotrprz at gmail.com>
Date:   Tue Aug 23 17:43:37 2011 +0200
    Fix datepicker initialization
-----------------------------------------------------------------------
Summary of changes:
 js/functions.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/js/functions.js b/js/functions.js
index 022cb80..1c1dddb 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -684,8 +684,9 @@ $(document).ready(function() {
 
     /**
      * Add a date/time picker to each element that needs it
+     * (only when timepicker.js is loaded)
      */
-    if ($.datetimepicker != undefined) {
+    if ($.timepicker != undefined) {
         $('.datefield, .datetimefield').each(function() {
             PMA_addDatepicker($(this));
             });
hooks/post-receive
-- 
phpMyAdmin
    
    
More information about the Git
mailing list