Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default iconCls for Ext.Msg displayed only one time, very first time

    iconCls for Ext.Msg displayed only one time, very first time


    iconCls for Ext.Msg displayed only one time, very first time you launch app/goto page.

    My code:
    Code:
           Ext.Msg.show({            title:'Connect in progress',
                message:'Connecting with: <br/><b>' + name + '</b>',
                buttons:[],
                iconCls:'waitspinner',
                fn:function (buttonId) {
                }
            });
    First time I show the dialog I see:

    HTML Code:
    <div id="ext-component-11" style="width: 40px !important; height: 40px !important; " class="x-icon waitspinner x-docked-left"></div>
    Second time, I don't see that HTML.

    I believe this is bug.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I see the icon class after a couple opens in 2.1.0 RC2 with this code:

    Code:
    Ext.Viewport.add({
        xtype   : 'button',
        text    : 'Open Message',
        handler : function() {
            Ext.Msg.show({
                title         : 'Connect in progress',
                message       : 'Connecting with: <br/><b>' + name + '</b>',
                buttons       : [],
                iconCls       : 'waitspinner',
                hideOnMaskTap : true,
                fn            : function (buttonId) {
                }
            });
        }
    });
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default


    Here is more information:
    Secnha 2.0.1.1, Playbook 2.0, Webkit

    Where do I get
    2.1.0 RC2 ?

  4. #4
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default


    It is Totally reproducible on
    http://try.sencha.com/touch/2.0.0/demos/Ext.Msg.buttons.disabled/viewer.html
    j
    ust paste this in app.js

    Code:
    /*global Ext:false */Ext.application({
        launch: function () {
            Ext.create('Ext.Container', {
                fullscreen: true,
                items: [{
                    xtype: 'toolbar',
                    docked: 'top',
                    items: [{
                        text: 'Show alert',
                        handler: function () {
                            var msg = Ext.Msg.show({
                                title: 'Ext.Msg.show()',
                                message: 'This dialog\'s button will be disabled for 4 seconds.',
                                    iconCls: 'user',
                              buttons: [{
                                    id: 'alertCancelBtn',
                                    disabled: true,
                                    text: 'Sure, why not',
                                    ui: 'round decline'
                                }] // buttons
                            }); // show()
                            
                            setTimeout(function () {
                                Ext.getCmp('alertCancelBtn').setDisabled(false);
                            }, 4000 /* ms */); // setTimeout()
                        } // handler
                    }] // items
                }] // items (toolbar)
            }); // create()
        } // launch
    }); // application()
    First time you launch this in NEW WINDOW you will see space for icos to the left of the text (still no icon displayed) but second time and all other times, there will be no space for icon any more and no HTML of x-icon.

    Windows 7, Chrome Version 22.0.1229.94 m

  5. #5
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  6. #6
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default


    This path doesn't contain Sencha 2.1 RC2, only Sencha Command, where can I get Sencha 2.1 RC2 sdk?
    In order to work with Sencha Cmd I need to specify path to SDK....

  7. #7
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Quote Originally Posted by riahut.com View Post
    This path doesn't contain Sencha 2.1 RC2...
    Yes, it does! Look for the text/link DOWNLOAD

    However, I agree, that one has to get used to this kind of announcement page layouts. A few more line breaks would have helped a lot...

  8. #8
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default


    It was totally bug for Sencha 2.0.1, now it seems to be fixed.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."