The branch, master has been updated via c33ba8465564f350a2e1e6e269fb7ea577de9418 (commit) from 38ca2f2d8a6341b6c8b1de392bde7f3d3f4dc099 (commit)
- Log ----------------------------------------------------------------- commit c33ba8465564f350a2e1e6e269fb7ea577de9418 Author: Rouslan Placella rouslan@placella.com Date: Wed Mar 30 20:47:32 2011 +0100
Partial fix for bug #3204461 - Datepicker not showing up on 'continue insertion'.
-----------------------------------------------------------------------
Summary of changes: js/tbl_change.js | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/js/tbl_change.js b/js/tbl_change.js index 69dfdf5..200e665 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -400,6 +400,13 @@ $(document).ready(function() { $changed_element.closest('tr').find('span.column_type').html() ); }); + if ($this_element.is('.datefield') || $this_element.is('.datetimefield')) { + // we now need to remove the remainings of the datepicker + // from the element that we cloned + $this_element.removeClass('hasDatepicker').next().remove(); + // and bind a new datepicker + PMA_addDatepicker($this_element); + } }
if ($this_element.is('.checkbox_null')) {
hooks/post-receive