Roo/bootstrap/Modal.js
[roojs1] / Roo / bootstrap / Modal.js
index 1efe058..9018369 100644 (file)
@@ -300,8 +300,8 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             this.headerEditEl =  this.headerEl.select('.form-control',true).first();
             this.headerEl.on('click', function() { this.toggleHeaderInput(true) } , this);
             this.headerEditEl .on('keyup', function(e) {
-                if(e.isNavKeyPress()){
-                        this.toggleHeaderInput(false)
+                    if(e.isNavKeyPress()){
+                            this.toggleHeaderInput(false)
                     }
                 }, this);
         }