Merge pull request #155 from ayushchd/master
Pull request for bugs:#3802 Datepicker displayed just the first time
This commit is contained in:
commit
a92893b09e
2
js/jquery/jquery-ui-1.9.2.custom.js
vendored
2
js/jquery/jquery-ui-1.9.2.custom.js
vendored
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user