-
6 Dec 2012 1:40 PM #1
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
- MessageBox.show() makes a call to addCls() whether or not cfg.cls is defined
- addCls() logs a warning if the cls provided is undefined
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>
-
6 Dec 2012 1:47 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
Thanks for the report! I have opened a bug in our bug tracker.
-
6 Dec 2012 2:30 PM #3
You're most welcome, good sir!
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-7937
in
4.2.0 Sprint 2.


Reply With Quote