- - - Display the preferred calendars by default if they exist - -
+
- - - hide the listing of all calendars if preferred calendars exist, otherwise show them - -
+
- - - allow for toggling between the preferred and all calendars listings if preferred
- calendars exist - -
+
@@ -1114,5 +1125,5 @@
+ Select a calendar in which to publish this event:
+
+
+
+
+
+ calendar descriptions
+
+
+
+
+
+
+
+
+
+
+
+ publishEvent('');
+
+
+
+
Index: trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js
===================================================================
--- trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js (revision 2088)
+++ trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js (revision 2090)
@@ -690,2 +690,10 @@
}
+function publishEvent(publishingCal) {
+ // User has submitted the event when there is only a single publishing calendar.
+ // Update the newCalPath to reflect the publishing calendar:
+ var newCalPath = document.getElementById("newCalPath");
+ newCalPath = publishingCal;
+}
+
+