Roo/bootstrap/TimeField.js
authorEdward <edward@roojs.com>
Fri, 30 May 2014 04:54:51 +0000 (12:54 +0800)
committerEdward <edward@roojs.com>
Fri, 30 May 2014 04:54:51 +0000 (12:54 +0800)
Roo/bootstrap/TimeField.js

index f92f2ed..5eead5b 100644 (file)
@@ -189,7 +189,7 @@ Roo.extend(Roo.bootstrap.TimeField, Roo.bootstrap.Input,  {
     
     picker : function()
     {
-        return this.el.select('.timepicker', true).first();
+        return this.el.select('.datepicker', true).first();
     },
     
     fillDow: function()
@@ -999,7 +999,6 @@ Roo.extend(Roo.bootstrap.TimeField, Roo.bootstrap.Input,  {
 
 Roo.apply(Roo.bootstrap.TimeField,  {
     
-    
     content : {
         tag: 'tbody',
         cn: [
@@ -1037,14 +1036,13 @@ Roo.apply(Roo.bootstrap.TimeField,  {
         }
         ]
     }
-    
 });
 
 Roo.apply(Roo.bootstrap.TimeField,  {
   
     template : {
         tag: 'div',
-        cls: 'TimeField dropdown-menu',
+        cls: 'datepicker dropdown-menu',
         cn: [
             {
                 tag: 'div',