From 8f76050eb33b3320a583edbc59dffdcd9139dcc1 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 6 Mar 2014 16:31:23 +0800 Subject: [PATCH] Roo/bootstrap/Calendar.js --- Roo/bootstrap/Calendar.js | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.2