Roo/bootstrap/DateField.js
authorEdward <edward@roojs.com>
Thu, 23 Apr 2015 05:28:17 +0000 (13:28 +0800)
committerEdward <edward@roojs.com>
Thu, 23 Apr 2015 05:28:17 +0000 (13:28 +0800)
Roo/bootstrap/DateField.js

index dbdd0f0..b32da57 100644 (file)
@@ -793,6 +793,10 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
     
     updateNavArrows: function() 
     {
+        if(this.singleMode){
+            return;
+        }
+        
         var d = new Date(this.viewDate),
         year = d.getUTCFullYear(),
         month = d.getUTCMonth();