"labelAlign" : "top",
"xtype" : "Form",
"method" : "POST",
- "| function verifyCheckSum" : "function() \n{ \n _this.dialog.hide();\n \n new Pman.Request({\n url: baseURL + '/Login',\n method : 'POST',\n mask : 'Verifying...',\n params : {\n id : _this.form.findField('id').getValue(),\n ts : _this.form.findField('ts').getValue(),\n key : _this.form.findField('key').getValue(),\n _verifyCheckSum : 1\n },\n success : function(res) {\n _this.dialog.show();\n }\n });\n}",
+ "| function verifyCheckSum" : "function() \n{ \n _this.dialog.hide();\n \n new Pman.Request({\n url: baseURL + '/Login',\n method : 'POST',\n mask : 'Verifying...',\n params : {\n id : _this.form.findField('id').getValue(),\n ts : _this.form.findField('ts').getValue(),\n key : _this.form.findField('key').getValue(),\n _verifyCheckSum : 1\n },\n success : function(res) {\n _this.dialog.show();\n },\n failure : function(res)\n {\n Roo.MessageBox.alert(\"Sorry\", res, function() {\n _this.callback(false,false);\n });\n \n }\n });\n}",
"$ xns" : "Roo.bootstrap",
"Boolean loadMask" : false,
"String style" : "padding: 10px;",
},
success : function(res) {
_this.dialog.show();
+ },
+ failure : function(res)
+ {
+ Roo.MessageBox.alert("Sorry", res, function() {
+ _this.callback(false,false);
+ });
+
}
});
},