The branch, master has been updated
       via  42341de5e8dbc88345c583229375cf9943788a02 (commit)
      from  b072a8d47cc80e346c31ccd8d6e6c0e58f39d390 (commit)


- Log -----------------------------------------------------------------
commit 42341de5e8dbc88345c583229375cf9943788a02
Author: Piotr Przybylski <[email protected]>
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

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to