2 "name" : "Dialog.Login",
5 "path" : "/home/alan/gitlive/roojs1/examples/bootstrap/Dialog.Login.bjs",
9 "dc647eb65e6711e155375218212b3964" : "Password",
10 "01a569ddc6cf67ddec2a683f0a5f5956" : "Forgot your password?",
11 "d837cc5a72556c5e2abf4b9fe10ddef8" : "Login ",
12 "5047040b025ce0295b58d42250014417" : "<div id=\"login-err\" class=\"dialog-err\" style=\"color:red\"></div>",
13 "643a860f992333b8600ea264aca7c4fc" : "Email Address"
18 "btnclick" : "function (e)\n{\n if(e == 'cancel'){\n _this.dialog.hide();\n return;\n }\n \n _this.form.doAction('submit');\n}",
19 "|render" : "function (_self) {\n\n Roo.get('login-err').dom.innerHTML = \"\";\n \n}\n ",
20 "show" : "function (_self)\n{\n Roo.get('login-err').dom.innerHTML = \"\";\n}"
24 "buttonPosition" : "center",
25 "$ buttons" : "Roo.bootstrap.Modal.OKCANCEL",
26 "$ xns" : "Roo.bootstrap",
30 "$ xns" : "Roo.bootstrap",
31 "String style" : "margin-top:20px;",
34 "xtype" : "Container",
36 "$ xns" : "Roo.bootstrap",
40 "|actionfailed" : "function (_self, action) {\n Roo.log('action failed?!');\n Roo.log(action);\n \n if (typeof(action) != 'undefined' && action.failureType == 'server') { \n\n Roo.get('login-err').dom.innerHTML = action.result.errorMsg;\n return;\n }\n \n Roo.get('login-err').dom.innerHTML = \"Fill in all the required fields\";\n}",
41 "|actioncomplete" : "function (_self, action) {\n \n if (action.type =='submit') {\n Roo.log(action);\n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(_this, action.result);\n }\n \n _this.form.reset();\n \n return;\n }\n}",
42 "|render" : "function (_self) {\n _this.form = _self;\n}"
44 "$ url" : "baseURL + '/Login'",
45 "labelAlign" : "left",
48 "$ xns" : "Roo.bootstrap",
51 "xtype" : "Container",
53 "$ xns" : "Roo.bootstrap",
57 "specialkey" : "function (_self, e)\n{\n if(e.getKey() == 13){\n _this.form.doAction('submit');\n }\n \n}"
59 "inputType" : "email",
62 "placeholder" : "Email Address",
64 "$ xns" : "Roo.bootstrap",
69 "specialkey" : "function (_self, e)\n{\n if(e.getKey() == 13){\n _this.form.doAction('submit');\n }\n}"
71 "inputType" : "password",
73 "placeholder" : "Password",
75 "$ xns" : "Roo.bootstrap",
88 "$ xns" : "Roo.bootstrap",
89 "String style" : "margin-top:20px;",
92 "xtype" : "Container",
94 "$ xns" : "Roo.bootstrap",
98 "|click" : "function () {\n _this.dialog.hide();\n \n Hydra.Dialog.ForgotPassword.show({}, function(){\n Roo.bootstrap.MessageBox.alert('Notice', 'The password has been sent to your email');\n });\n}"
102 "html" : "Forgot your password?",
103 "Boolean removeClass" : true,
104 "$ xns" : "Roo.bootstrap",
114 "$ xns" : "Roo.bootstrap",
117 "xtype" : "Container",
119 "$ xns" : "Roo.bootstrap",
122 "xtype" : "Container",
123 "style" : "margin-top:20px;",
125 "html" : "<div id=\"login-err\" class=\"dialog-err\" style=\"color:red\"></div>",
126 "$ xns" : "Roo.bootstrap"