Roo/bootstrap/Calendar.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 06:09:16 +0000 (14:09 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 06:09:16 +0000 (14:09 +0800)
Roo/bootstrap/Calendar.js

index 4ae9d92..138c56f 100644 (file)
@@ -298,7 +298,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
                 Roo.log('using add remove');
                 this.cells.removeClass("fc-state-highlight");
                 this.cells.each(function(c){
-                   if(c.dom.firstChild.dateValue == t){
+                   if(c.dateValue == t){
                        c.addClass("fc-state-highlight");
                        setTimeout(function(){
                             try{c.dom.firstChild.focus();}catch(e){}