fix attribute
[roojs1] / examples / bootstrap / Dialog.Login.js
index ee798d4..58f3b07 100644 (file)
@@ -6,6 +6,14 @@ Roo.namespace('Dialog');
 
 Dialog.Login = {
 
+ _strings : {
+  'dc647eb65e6711e155375218212b3964' :"Password",
+  '01a569ddc6cf67ddec2a683f0a5f5956' :"Forgot your password?",
+  'd837cc5a72556c5e2abf4b9fe10ddef8' :"Login ",
+  '5047040b025ce0295b58d42250014417' :"<div id=\"login-err\" class=\"dialog-err\" style=\"color:red\"></div>",
+  '643a860f992333b8600ea264aca7c4fc' :"Email Address"
+ },
+
  dialog : false,
  callback:  false,
 
@@ -31,7 +39,7 @@ Dialog.Login = {
   var _this = this;
   this.dialog = Roo.factory({
     '|xns' : 'Roo.bootstrap',
-    title : "Login",
+    title : _this._strings['d837cc5a72556c5e2abf4b9fe10ddef8]',
     xtype : 'Modal',
     buttonPosition : 'center',
     buttons : Roo.bootstrap.Modal.OKCANCEL,
@@ -77,9 +85,6 @@ Dialog.Login = {
           method : 'POST',
           xns : Roo.bootstrap,
           listeners : {
-           render : function (_self) {
-                _this.form = _self;
-            },
            actionfailed : function (_self, action) {
                 Roo.log('action failed?!');
                 Roo.log(action);
@@ -106,6 +111,9 @@ Dialog.Login = {
                      
                      return;
                 }
+            },
+           render : function (_self) {
+                _this.form = _self;
             }
           },
           items : [
@@ -120,7 +128,7 @@ Dialog.Login = {
               inputType : 'email',
               xtype : 'Input',
               vtype : 'email',
-              placeholder : 'Email Address',
+              placeholder : _this._strings['643a860f992333b8600ea264aca7c4fc]',
               allowBlank : false,
               xns : Roo.bootstrap,
               name : 'email',
@@ -138,7 +146,7 @@ Dialog.Login = {
               '|xns' : 'Roo.bootstrap',
               inputType : 'password',
               xtype : 'Input',
-              placeholder : 'Password',
+              placeholder : _this._strings['dc647eb65e6711e155375218212b3964]',
               allowBlank : false,
               xns : Roo.bootstrap,
               name : 'password',
@@ -179,7 +187,7 @@ Dialog.Login = {
           '|xns' : 'Roo.bootstrap',
           tag : 'a',
           xtype : 'Button',
-          html : 'Forgot password?',
+          html : _this._strings['01a569ddc6cf67ddec2a683f0a5f5956]',
           removeClass : true,
           xns : Roo.bootstrap,
           weight : 'link',
@@ -216,7 +224,7 @@ Dialog.Login = {
           xtype : 'Container',
           style : 'margin-top:20px;',
           cls : 'bg-danger',
-          html : '<div id=\"login-err\" class=\"dialog-err\" style=\"color:red\"></div>',
+          html : _this._strings['5047040b025ce0295b58d42250014417]',
           xns : Roo.bootstrap
          }
         ]