_strings : {
'e2c9d024b79dfb48b42a7807206c6aed' :"Verify New IP Access",
'a12a3079e14ced46e69ba52b8a90b21a' :"IP",
+ 'ea4788705e6873b424c65e91c2846b19' :"Cancel",
'f6039d44b29456b20f8f373155ae4973' :"Username",
'004bf6c9a40003140292e97330236c53' :"Action",
'5a787141d53b573ec9b86e900bfe0d79' :"Expire Date",
var _this = this;
this.dialog = Roo.factory({
xtype : 'Modal',
- allow_close : false,
+ allow_close : true,
cls : 'enable-overflow',
title : _this._strings['e2c9d024b79dfb48b42a7807206c6aed'] /* Verify New IP Access */,
xns : Roo.bootstrap,
'|xns' : 'Roo.bootstrap',
buttons : [
+ {
+ xtype : 'Button',
+ html : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
+ weight : 'default',
+ listeners : {
+ click : function (_self, e)
+ {
+ _this.dialog.hide();
+ }
+ },
+ xns : Roo.bootstrap,
+ '|xns' : 'Roo.bootstrap'
+ },
{
xtype : 'Button',
html : _this._strings['70d9be9b139893aa6c69b5e77e614311'] /* Confirm */,
listeners : {
click : function (_self, e)
{
- if(!_this.form.isValid()){
- return;
- }
-
- _this.dialog.el.mask('Sending...');
_this.form.doAction('submit');
}
xtype : 'Form',
errorMask : true,
labelAlign : 'top',
- loadMask : false,
- url : baseURL + '/Core/VerifyAccess',
+ loadMask : true,
+ url : baseURL + '/Roo/core_ip_access',
listeners : {
actioncomplete : function (_self, action)
{