_this.data = res.data;
+ if(_this.data.status != 0){
+ _this.dialog.hide();
+ Roo.bootstrap.MessageBox.alert('Notice', 'This IP has been verified [' + _this.data.ip + ']');
+ return;
+ }
+
_this.form.setValues(_this.data);
if(_this.data.status * 1 == 0){
_this.form.findField('status').reset();
}
+ _this.form.findField('expire_dt').reset();
+
_this.form.clearInvalid();
return;
_this.dialog.hide();
- Roo.bootstrap.MessageBox.alert('Notice', 'You have verified the IP [' + _this.data.id + ']');
+ Roo.bootstrap.MessageBox.alert('Notice', 'You have verified the IP [' + _this.data.ip + ']');
return;
}