From 8ca233d511696a51c84bd5e2b67fc3e75b627692 Mon Sep 17 00:00:00 2001 From: Atul Pratap Singh Date: Thu, 13 Mar 2014 00:44:21 +0530 Subject: [PATCH] Fix bug#4324: Insert page datepicker not showing up Signed-off-by: Atul Pratap Singh --- ChangeLog | 1 + js/tbl_change.js | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9162723267..9c66bdb603 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ phpMyAdmin - ChangeLog 4.1.10.0 (not yet released) - bug #4301 Grid edit: "SELECT" query is replaced by "UPDATE" query after edit - bug #4278 reCaptcha re-login requires double effort +- bug #4324 Datepicker not showing up on insert page 4.1.9.0 (2014-03-06) - bug #4279 CTRL + up or down moves two fields (part one) diff --git a/js/tbl_change.js b/js/tbl_change.js index e36cb2b4e0..47e9c4ceb4 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -491,10 +491,6 @@ AJAX.registerOnload('tbl_change.js', function () { tabindex++; $(this).attr('tabindex', tabindex); }); - // Add all the required datepickers back - $('input.datefield, input.datetimefield').each(function () { - PMA_addDatepicker($(this)); - }); } else if (curr_rows > target_rows) { while (curr_rows > target_rows) { $("input[id^=insert_ignore]:last") @@ -505,6 +501,8 @@ AJAX.registerOnload('tbl_change.js', function () { } } }); + // Add all the required datepickers back + addDateTimePicker(); }); function changeValueFieldType(elem, searchIndex)