#13670 closed defect (fixed)
dijit,popup._createWrapper function returns 'true' rather than the wrapper widget
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.6.2 |
Component: | Dijit | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
(from David Chang)
Hello,
I upgraded the Dojo 1.6 4/20 build to the latest 1.6 build and I'm getting an error from a dijit popup.moveOffScreen call.
I found the root of the problem is in the dijit popup class's _createWrapper method on the following line:
var wrapper = widget.declaredClass ? widget._popupWrapper : (widget.parentNode && dojo.hasClass(widget.parentNode, "dijitPopup")), node = widget.domNode || widget;
after this line wrapper is = true and then that is what is returned, on which the CSS property 'visability' is attempted to be set, which results in the original error I saw.
Note: See
TracTickets for help on using
tickets.
In [26170]: