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>