Roo/bootstrap/Calendar.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 05:22:21 +0000 (13:22 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 05:22:21 +0000 (13:22 +0800)
Roo/bootstrap/Calendar.js

index eaa726c..714a92a 100644 (file)
@@ -225,7 +225,12 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         this.resize();
         this.cells = this.el.query('.fc-day');
         this.textNodes = this.el.query('.fc-day-number');
-        this.update(new Date());
+        try { 
+            this.update(new Date());
+        catch(e) {
+            Roo.log(e);
+        }
+        
         
     },
     resize : function() {