From: Edward Date: Thu, 6 Mar 2014 08:31:23 +0000 (+0800) Subject: Roo/bootstrap/Calendar.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=8f76050eb33b3320a583edbc59dffdcd9139dcc1;p=roojs1 Roo/bootstrap/Calendar.js --- diff --git a/Roo/bootstrap/Calendar.js b/Roo/bootstrap/Calendar.js index b372947fcc..8a8c14b5e4 100644 --- a/Roo/bootstrap/Calendar.js +++ b/Roo/bootstrap/Calendar.js @@ -565,6 +565,10 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, { clearEvents: function() { + if(!this.calevents){ + return; + } + Roo.each(this.calevents, function(e) { Roo.each(e.els, function(el) { el.un('mouseenter' ,this.onEventEnter, this);