Index: trunk/deployment/webadmin/webapp/resources/default/default/default.css
===================================================================
--- trunk/deployment/webadmin/webapp/resources/default/default/default.css (revision 1681)
+++ trunk/deployment/webadmin/webapp/resources/default/default/default.css (revision 1690)
@@ -698,6 +698,23 @@
}
#submitTable {
+ position: relative; /* allows for absolute positioning within the table, e.g. #pubishBox */
width: 96%; /* less than 100% helps avoid IE weirdness */
margin-top: 1em;
+}
+#publishBox {
+ position: absolute;
+ padding: 1em;
+ background-color: #ffa;
+ color: black;
+ border: 1px solid #333;
+ width: 420px;
+ height: 60px;
+}
+#publishBoxCloseButton {
+ position: absolute;
+ top: 0;
+ right: 0;
+ margin: 0;
+ padding: 0;
}
#sharingBox {
Index: trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
===================================================================
--- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (revision 1682)
+++ trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (revision 1690)
@@ -1028,16 +1028,40 @@
-
- |
- Calendar:**
- |
-
-
-
+
+
+ calendar descriptions
+
+ |
+
+
@@ -2258,6 +2260,42 @@
+
+
+ Select a calendar in which to publish this event:
+
+
+
+
+
+
+
+
+
+
+
+ calendar descriptions
+
+
+
-
+
|
Index: trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js
===================================================================
--- trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js (revision 1680)
+++ trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js (revision 1690)
@@ -662,4 +662,13 @@
}
+function resetPublishBox(calSelectId) {
+ // User has closed the publish box without publishing.
+ // Reset the calendar select box to default value and hide the publishBox.
+ var calSelect = document.getElementById(calSelectId);
+ calSelect.selectedIndex = 0;
+ changeClass('publishBox','invisible');
+}
+
+
function init() {
var untilHolder = dojo.byId("untilHolder");