Monotone-Parent: efb5beac382de5b2c393a2be3885d1e75fd11625

Monotone-Revision: 0e5bcaa216279e740759bee06c05bae20de13388

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-28T17:27:16
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-28 17:27:16 +00:00
parent e3ba378b87
commit 69e51c80ae
6 changed files with 108 additions and 98 deletions
+19 -6
View File
@@ -101,8 +101,8 @@ function validateAptEditor() {
function submitMeeting(thisForm) {
var action = document.getElementById('jsaction');
// action.setAttribute("name", "save:method");
// action.setAttribute("value", "save");
action.setAttribute("name", "save:method");
action.setAttribute("value", "save");
window.opener.log ("form: " + thisForm);
@@ -136,9 +136,22 @@ function toggleDetails() {
return false;
}
function toggleCycleVisibility(node, className, hiddenValue) {
var containers = document.getElementsByClassName(className);
function toggleCycleVisibility(node, nodeName, hiddenValue) {
var spanNode = $(nodeName);
var newVisibility = ((node.value == hiddenValue) ? null : 'visible;');
for (var i = 0; i < containers.length; i++)
containers[i].style.visibility = newVisibility;
spanNode.style.visibility = newVisibility;
if (nodeName == 'cycleSelectionFirstLevel') {
var otherSpanNode = $('cycleSelectionSecondLevel');
if (!newVisibility)
{
otherSpanNode.superVisibility = otherSpanNode.style.visibility;
otherSpanNode.style.visibility = null;
}
else
{
otherSpanNode.style.visibility = otherSpanNode.superVisibility;
otherSpanNode.superVisibility = null;
}
}
}