diff --git a/js/jquery/jquery-ui-1.9.2.custom.js b/js/jquery/jquery-ui-1.9.2.custom.js index fa0f90fde0..2e1697eaf0 100644 --- a/js/jquery/jquery-ui-1.9.2.custom.js +++ b/js/jquery/jquery-ui-1.9.2.custom.js @@ -8253,7 +8253,7 @@ $.fn.datepicker = function(options){ /* Initialise the date picker. */ if (!$.datepicker.initialized) { $(document).mousedown($.datepicker._checkExternalClick). - find(document.body).append($.datepicker.dpDiv); + find(document.body).append($.datepicker.dpDiv); $.datepicker.initialized = true; } diff --git a/js/tbl_change.js b/js/tbl_change.js index 7b7d8e65e1..a249063b2c 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -236,6 +236,7 @@ AJAX.registerTeardown('tbl_change.js', function() { * Restart insertion with 'N' rows. */ AJAX.registerOnload('tbl_change.js', function() { + $.datepicker.initialized = false; $('span.open_gis_editor').live('click', function(event) { event.preventDefault();