Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7937 in 4.2.0.265.
  1. #1
    Sencha User
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5
    Vote Rating
    1
    aaronnsmith is on a distinguished road

      0  

    Default MessageBox show() logs a warning if no cls is provided

    MessageBox show() logs a warning if no cls is provided


    REQUIRED INFORMATION

    Ext version tested:
    • 4.1.1a
    • 4.1.2a
    Description:
    • MessageBox.show() makes a call to addCls() whether or not cfg.cls is defined
    • addCls() logs a warning if the cls provided is undefined
    Test Case:

    Code:
    <!DOCTYPE html>
    <html>
    <head>
        <link type="text/css" rel="stylesheet" href="resources/css/ext-all.css" />
        <script type="text/javascript" src="ext-all-dev.js"></script>
    </head>
    <body>
        <script type="text/javascript">
            Ext.onReady(function () {
    
    
                Ext.Logger.warn = function(){
                    console.warn(arguments); 
                    console.trace();
                };
    
    
                Ext.Msg.show({
                    title: 'My Message',
                    msg: 'Message Body',
                    buttons: Ext.Msg.OK
                });
    
    
            });
        </script>
    </body>
    </html>




  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,074
    Vote Rating
    854
    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


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

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5
    Vote Rating
    1
    aaronnsmith is on a distinguished road

      0  

    Default


    You're most welcome, good sir!
    Aaron N. Smith
    @aaron_n_smith
    Software Architect
    Modus Create, Inc.

Thread Participants: 1