Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-7937
in
4.2.0.265.
-
Sencha User
MessageBox show() logs a warning if no cls is provided
REQUIRED INFORMATION
Ext version tested:
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>
-
Thanks for the report! I have opened a bug in our bug tracker.
-
Sencha User
You're most welcome, good sir!