Monotone-Parent: 1b7e32ba68558b623b1ae7c252ace2acac8680fd

Monotone-Revision: a157cdab1102429e9d7b24c14204d15f42e774f5

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-01-15T21:45:48
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-01-15 21:45:48 +00:00
parent 0e71166572
commit 341c5477fe
17 changed files with 490 additions and 442 deletions

View File

@@ -125,16 +125,25 @@ function onComponentEditorLoad(event) {
onMenuSetClassification.bindAsEventListener(menuItems[i]),
false);
$("repeatHref").observe("click", onPopupRecurrenceWindow);
$("repeatList").observe("change", onPopupRecurrenceWindow);
onPopupRecurrenceWindow(null);
}
function onPopupRecurrenceWindow(event) {
if (event)
preventDefault(event);
if ($("repeatList").value == 7)
window.open(ApplicationBaseURL + "/editRecurrence", null,
"width=803,height=573");
var repeatHref = $("repeatHref");
if ($("repeatList").value == 7) {
repeatHref.show();
if (event)
window.open(ApplicationBaseURL + "editRecurrence", null,
"width=500,height=400");
}
else
repeatHref.hide();
return false;
}