X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/f5240829880f87e0cf581c6a296e436fdef0ef80..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/examples/docs/source/CalendarView.html diff --git a/examples/docs/source/CalendarView.html b/examples/docs/source/CalendarView.html index ac34e9e8..299f049f 100644 --- a/examples/docs/source/CalendarView.html +++ b/examples/docs/source/CalendarView.html @@ -7,10 +7,10 @@
/*!
- * Ext JS Library 3.3.0
- * Copyright(c) 2006-2010 Ext JS, Inc.
- * licensing@extjs.com
- * http://www.extjs.com/license
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
  */
 
/** * @class Ext.calendar.CalendarView @@ -742,7 +742,9 @@ Ext.calendar.CalendarView = Ext.extend(Ext.BoxComponent, { // auto by month start = start.getFirstDateOfMonth(); offset = start.getDay() - this.startDay; - + if (offset < 0) { + offset += 7; + } this.viewStart = start.add(Date.DAY, -offset).clearTime(true); // start from current month start, not view start: @@ -1026,6 +1028,7 @@ Ext.calendar.CalendarView = Ext.extend(Ext.BoxComponent, { renderItems: function() { throw 'This method must be implemented by a subclass'; } -});
+}); + \ No newline at end of file