You found a bug! We've classified it as TOUCH-5283 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    34
    Vote Rating
    1
    Martin Hujer is on a distinguished road

      1  

    Default Chained Ext.Msg.show() -> Cannot call method 'removeCls' in console

    Chained Ext.Msg.show() -> Cannot call method 'removeCls' in console


    When you use two chained Msg boxes, error is printed into console after confirming the first.

    Fiddle https://fiddle.sencha.com/#fiddle/2j2 (don't forget to open the Chrome console)

    Code:
    Uncaught TypeError: Cannot call method 'removeCls' of null sencha-touch-all-debug.js:23823
    Ext.define.doSetDisabled sencha-touch-all-debug.js:23823
    Ext.define.doSet sencha-touch-all-debug.js:16895
    Ext.define.doFire sencha-touch-all-debug.js:15425
    Ext.define.fire sencha-touch-all-debug.js:15352
    Ext.define.doDispatchEvent sencha-touch-all-debug.js:15850
    Ext.define.dispatchEvent sencha-touch-all-debug.js:15831
    Ext.define.doFireEvent sencha-touch-all-debug.js:16196
    Ext.define.fireAction sencha-touch-all-debug.js:16181
    (anonymous function) sencha-touch-all-debug.js:16861
    Ext.define.enable sencha-touch-all-debug.js:23843
    on.hiddenchange sencha-touch-all-debug.js:42589
    Ext.define.doFire sencha-touch-all-debug.js:15425
    Ext.define.resume sencha-touch-all-debug.js:15460
    (anonymous function) sencha-touch-all-debug.js:24055
    Ext.define.onAnimationEnd sencha-touch-all-debug.js:108982
    Ext.define.refreshRunningAnimationsData sencha-touch-all-debug.js:109080
    Ext.define.onTransitionEnd sencha-touch-all-debug.js:108937
    Ext.define.doFire sencha-touch-all-debug.js:15425
    Ext.define.fire sencha-touch-all-debug.js:15352
    Ext.define.doDispatchEvent sencha-touch-all-debug.js:15850
    Ext.define.dispatch sencha-touch-all-debug.js:84969
    Base.implement.callParent sencha-touch-all-debug.js:4718
    Ext.define.dispatch sencha-touch-all-debug.js:98816
    Ext.define.doPublish sencha-touch-all-debug.js:98899
    Ext.define.publish sencha-touch-all-debug.js:98823
    Ext.define.onEvent sencha-touch-all-debug.js:98968
    (anonymous function) sencha-touch-all-debug.js:3217

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,955
    Vote Rating
    132
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    10
    Vote Rating
    0
    DennisFLS is on a distinguished road

      0  

    Default


    What's the status on this? Workaround, although it's pretty ugly:
    Code:
     Ext.Msg.confirm( 'Title 1', 'Message 1', function() {
         Ext.defer( function() {
             Ext.Msg.confirm( 'Title 2', 'Message 2', function() { } );
         }, 10 );
     });

Thread Participants: 2