From: Alan Knowles Date: Tue, 18 Feb 2014 06:09:16 +0000 (+0800) Subject: Roo/bootstrap/Calendar.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=4d9d77e23a4ab171ccf5938836870397b0dcb410;p=roojs1 Roo/bootstrap/Calendar.js --- diff --git a/Roo/bootstrap/Calendar.js b/Roo/bootstrap/Calendar.js index 4ae9d92d1b..138c56f483 100644 --- a/Roo/bootstrap/Calendar.js +++ b/Roo/bootstrap/Calendar.js @@ -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){}