Bug Tracker

Changes between Initial Version and Version 1 of Ticket #12171, comment 13


Ignore:
Timestamp:
Jan 18, 2013, 4:04:05 PM (8 years ago)
Author:
ctoestreich
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12171, comment 13

    initial v1  
    2323http://jsfiddle.net/ctoestreich/JFETB/
    2424
     25As a bit of clarification, the method to add the module datepicker to jQuery is fired on page load and even when not specifically using datepickers on your page, simply the act of including the library would cause the problem as the orphaned object delegates were getting created on page load by:
     26
     27{{{
     28 $.datepicker = new Datepicker(); // singleton instance
     29}}}
     30
     31This is called by the module on every load which in turn calls the object construction and adds the dpDiv and its event delegates that get orphaned due to circular references and being unattached to the dom in any way.
     32
     33
     34
    2535Cheers!