PDA

View Full Version : [DUP][FIXED]qtip in window with modal set causing overlay/mask to disappear



rchloupe
9 Mar 2011, 5:25 PM
I have a window with modal:true and containing a form. When the form displays a qtip error the mask over the body of the page disappears.



Ext.define('MyApp.views.ForgotUserNameWidget', {
extend: 'Ext.window.Window',
alias: 'widget.MyApp.views.ForgotUserNameWidget',

initComponent: function() {
var config = {
title: 'Forgot User Name',
modal: true,

items: [{
xtype: 'form',
border: false,
url: 'asdf',

items: [{
xtype: 'textfield',
fieldLabel: 'Email Address',
name: 'emailAddress',
allowBlank: false
}],

buttons: [{
text: 'Submit',
formBind:true,
scope: this,
handler: function() { this.down('form').getForm().submit(); }
}, {
text: 'Cancel',
handler: function() { this.destroy(); },
scope: this
}]
}]
}

Ext.apply(this, config);
this.callParent(arguments);

this.show();
}
});

evant
9 Mar 2011, 5:33 PM
http://www.sencha.com/forum/showthread.php?126188-FIXED-PR3-DateField-Quicktip-loses-Window-s-modal