Results 1 to 2 of 2

Thread: Error raised when opening a new window in ExtTop

  1. #1
    Sencha User
    Join Date
    Dec 2012
    Vote Rating

    Default Error raised when opening a new window in ExtTop

    With ExtJS, trying to open any window in the ExtTop example raises an error about “win.dd is undefined”. It worked well under previous beta version.

    Effectively the “createWindow()” method of the Desktop class registers a listener on “boxready”:

                boxready: function () {
                    win.dd.xTickSize = me.xTickSize;
                    win.dd.yTickSize = me.yTickSize;
                    if (win.resizer) {
                        win.resizer.widthIncrement = me.xTickSize;
                        win.resizer.heightIncrement = me.yTickSize;
                single: true
    and under the beta2 the event gets triggered before the DD machinery has been configured (I guess by the “initDraggable()” method of the Window class). With the beta1 version, at that point both the “dd” property and the “resizer” property are assigned.

    Don't know what the proper fix should be, apparently just hooking on the “show” event works ok.

    Thank you in advance,
    bye, lele.

  2. #2
    Sencha User evant's Avatar
    Join Date
    Apr 2007
    Sydney, Australia
    Vote Rating
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts