Monotone-Parent: 14ff365d11c0291a1eee9188cca51f506f40b9bc
Monotone-Revision: b5604f9be1835fd07dc55eeda120eb915788a892 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-26T18:45:34 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
6ea3d67888
commit
1d3d860d34
|
@ -18,7 +18,7 @@ function newEvent(sender) {
|
||||||
+ "&hm=" + hour);
|
+ "&hm=" + hour);
|
||||||
|
|
||||||
window.open(urlstr, "",
|
window.open(urlstr, "",
|
||||||
"width=560,height=170,resizable=1,scrollbars=1,toolbar=0," +
|
"width=570,height=200,resizable=0,scrollbars=0,toolbar=0," +
|
||||||
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||||
|
|
||||||
return false; /* stop following the link */
|
return false; /* stop following the link */
|
||||||
|
@ -28,7 +28,7 @@ function _editEventId(id) {
|
||||||
var urlstr = ApplicationBaseURL + id + "/edit";
|
var urlstr = ApplicationBaseURL + id + "/edit";
|
||||||
|
|
||||||
var win = window.open(urlstr, "SOGo_edit_" + id,
|
var win = window.open(urlstr, "SOGo_edit_" + id,
|
||||||
"width=560,height=170,resizable=1,scrollbars=1,toolbar=0," +
|
"width=570,height=200,resizable=0,scrollbars=0,toolbar=0," +
|
||||||
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||||
win.focus();
|
win.focus();
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,8 +101,8 @@ function validateAptEditor() {
|
||||||
|
|
||||||
function submitMeeting(thisForm) {
|
function submitMeeting(thisForm) {
|
||||||
var action = document.getElementById('jsaction');
|
var action = document.getElementById('jsaction');
|
||||||
action.setAttribute("name", "save:method");
|
// action.setAttribute("name", "save:method");
|
||||||
action.setAttribute("value", "save");
|
// action.setAttribute("value", "save");
|
||||||
|
|
||||||
window.opener.log ("form: " + thisForm);
|
window.opener.log ("form: " + thisForm);
|
||||||
|
|
||||||
|
@ -120,24 +120,16 @@ function submitMeeting(thisForm) {
|
||||||
|
|
||||||
function toggleDetails() {
|
function toggleDetails() {
|
||||||
var div = $("details");
|
var div = $("details");
|
||||||
|
var buttons = $("buttons");
|
||||||
var buttonsDiv = $("buttons");
|
var buttonsHeight = buttons.clientHeight * 3;
|
||||||
var wHeight = 0;
|
|
||||||
if (!window._fullHeight) {
|
|
||||||
var minHeight = (buttonsDiv.offsetTop + 2 * buttonsDiv.clientHeight);
|
|
||||||
window._fullHeight = minHeight + div.clientHeight;
|
|
||||||
window._hiddenHeight = minHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (div.style.visibility) {
|
if (div.style.visibility) {
|
||||||
div.style.visibility = null;
|
div.style.visibility = null;
|
||||||
buttonsDiv.top = (window._hiddenHeight + buttonsDiv.clientHeight) + 'px;';
|
window.resizeBy(0, -(div.clientHeight + buttonsHeight));
|
||||||
window.resizeTo(document.body.clientWidth, window._hiddenHeight);
|
|
||||||
$("detailsButton").innerHTML = labels["Show Details"];
|
$("detailsButton").innerHTML = labels["Show Details"];
|
||||||
} else {
|
} else {
|
||||||
div.style.visibility = 'visible;';
|
div.style.visibility = 'visible;';
|
||||||
buttonsDiv.top = null;
|
window.resizeBy(0, (div.clientHeight + buttonsHeight));
|
||||||
window.resizeTo(document.body.clientWidth, window._fullHeight);
|
|
||||||
$("detailsButton").innerHTML = labels["Hide Details"];
|
$("detailsButton").innerHTML = labels["Hide Details"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue