Changes between Initial Version and Version 1 of Ticket #12769


Ignore:
Timestamp:
Apr 24, 2011, 9:35:07 PM (11 years ago)
Author:
bill
Comment:

destroy() shouldn't be getting called at all when opening the calendar dropdown.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12769

    • Property Owner set to dante
    • Property Summary changed from _createWrapper() dojo.connect(widget, "destroy", function(){ dojo.destroy(wrapper); delete widget._popupWrapper; }); ing pane position reset when popup (DateTextBox) used inside to FloatingPane reverts to old location when DateTextBox dropdown opened
  • Ticket #12769 – Description

    initial v1  
    1 Problem: When you have a floating pane with a DateTextBox in it, when you use the DateTextBox, the floating pane resets to its previous location
     1Problem: When you have a floating pane with a !DateTextBox in it, when you use the !DateTextBox, the floating pane resets to its previous location
    22
    3 Steps:
    4 1) Create a dojox float pane with a DateText box in it.
    5 2) Drag the floating pane to new location
     3Steps: [[BR]]
     4
     51) Create a dojox float pane with a !DateText box in it.[[BR]]
     62) Drag the floating pane to new location[[BR]]
    673) Click on the date text box. As the popup appears, the float pane with snap back to its previous location
    78
    89I tracked this down to this line in the popup code:
    910
     11{{{
    1012_createWrapper()
    1113dojo.connect(widget, "destroy", function(){
     
    1315        delete widget._popupWrapper;
    1416});
     17}}}
    1518
    1619When the dojo.destroy() calls executes, the floating pane resets.