Prechádzať zdrojové kódy

1.2.1 tested patches, modified docs

Adam Shaw 16 rokov pred
rodič
commit
8996406e52
4 zmenil súbory, kde vykonal 16 pridanie a 3 odobranie
  1. 8 0
      changelog.txt
  2. 5 2
      docs/index.txt
  3. 2 1
      fullcalendar/fullcalendar.js
  4. 1 0
      test/sources.html

+ 8 - 0
changelog.txt

@@ -1,4 +1,11 @@
 
+version 1.2.1 (6/29/09)
+	- bugfixes
+		- allows and corrects invalid end dates for events
+		- doesn't throw an error in IE while rendering when display:none
+		- fixed 'loading' callback when used w/ multiple addEventSource calls
+		- gcal className can now be an array
+
 version 1.2 (5/31/09)
 	- expanded API
 		- 'className' CalEvent attribute
@@ -48,3 +55,4 @@ version 1.1 (5/10/09)
 		- for THEAD and TBODY (in 1.0, just used TBODY, restructured in 1.1)
 		- IF UPGRADING FROM FULLCALENDAR 1.0, YOU MUST UPGRADE FULLCALENDAR.CSS
 		  !!!!!!!!!!!
+		  

+ 5 - 2
docs/index.txt

@@ -257,8 +257,11 @@ CalEvent:
       UNIX timestamp.
       
    **end**: date (optional)
-      A javascript Date object indicating the date/time an event ends
-      (exclusively). If an event has an ambiguous end time, ``end`` should be
+      A javascript Date object indicating the date/time an event ends. This is
+      an **exclusive** value!!! **Example:** if an event spans two whole days,
+      ``end`` must be the time 00:00:00 of the *third* day.
+      
+      If an event has an ambiguous end time, ``end`` should be
       set to midnight of the next day. This is implied if ``end`` is omitted.
       (For convenience with an :ref:`Event Source <EventSources>`).
       

+ 2 - 1
fullcalendar/fullcalendar.js

@@ -494,8 +494,9 @@
 				
 				ignoreResizes = false;
 			
-				if (options.monthDisplay)
+				if (options.monthDisplay) {
 					options.monthDisplay(date.getFullYear(), date.getMonth(), monthTitle);
+				}
 			
 			}
 			

+ 1 - 0
test/sources.html

@@ -21,6 +21,7 @@
 <script type='text/javascript' src='legacy_jquery/ui.core.js'></script>
 <script type='text/javascript' src='legacy_jquery/ui.draggable.js'></script>
 -->
+
 <script type='text/javascript' src='../jquery/jquery.js'></script>
 <script type='text/javascript' src='../jquery/ui.core.js'></script>
 <script type='text/javascript' src='../jquery/ui.draggable.js'></script>