Roo/bootstrap/DateField.js
authorAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 10:00:45 +0000 (18:00 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 10:00:45 +0000 (18:00 +0800)
Roo/bootstrap/DateField.js

index 2b1f6fb..1cc24cf 100644 (file)
@@ -634,7 +634,9 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
                 break;
             case 38: // up
             case 40: // down
-                if (!this.keyboardNavigation) break;
+                if (!this.keyboardNavigation) {
+                    break;
+                }
                 dir = e.keyCode == 38 ? -1 : 1;
                 if (e.ctrlKey){
                     newDate = this.moveYear(this.date, dir);