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