mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-06 22:08:51 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user