PDA

View Full Version : [CLOSED] [4.0.7] Ext.window.MessageBox - cfg is undefined



SunboX
16 Feb 2012, 5:20 AM
"cfg" is not defined, so you should not try to access cfg.buttons:


reconfigure: function(cfg) {
var me = this,
buttons = cfg.buttons || 0, // <--------------------------
hideToolbar = true,
initialWidth = me.maxWidth,
i;

cfg = cfg || {}; // <--------------------------
me.cfg = cfg;

mitchellsimoens
16 Feb 2012, 12:11 PM
This looks to already be fixed in 4.1.0