Bug Tracker

Changeset 5407

Show
Ignore:
Timestamp:
05/04/08 10:45:16 (7 months ago)
Author:
paul.bakaus
Message:

ui-datepicker: fixed a timing issue where the datepicker file was loaded via ajax, and the document ready code was therefore executed immediately, before the singleton instance was created.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/datepicker/core/ui.datepicker.js

    r5406 r5407  
    14281428    }); 
    14291429}; 
     1430 
     1431$.datepicker = new Datepicker(); // singleton instance 
    14301432     
    14311433/* Initialise the date picker. */ 
     
    14351437}); 
    14361438 
    1437 $.datepicker = new Datepicker(); // singleton instance 
    1438  
    14391439})(jQuery);