mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-08 01:45:08 +00:00
Monotone-Parent: 6162250d4f112737d358c735d1e1f381e3ffbff8
Monotone-Revision: 7ded349858423000ac245469d641c40ef5888d98 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-01-04T22:30:48 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -82,7 +82,7 @@ static NSTimeZone *EST = nil;
|
||||
NSString *aptUID;
|
||||
|
||||
aptUID = [[self newApt] uid];
|
||||
return [NSString stringWithFormat:@"%@/Calendar/%@/view?tab=participants",
|
||||
return [NSString stringWithFormat:@"%@/Calendar/%@/edit?mail-invitation=yes",
|
||||
[self homePageURL],
|
||||
aptUID];
|
||||
}
|
||||
|
||||
@@ -84,9 +84,9 @@
|
||||
><var:component-content
|
||||
/></div>
|
||||
<noscript>
|
||||
<div id="noJavascriptError">
|
||||
<div class="javascriptPopupBackground">
|
||||
</div>
|
||||
<div class="noJavascriptErrorMessage">
|
||||
<div class="javascriptMessagePseudoWindow noJavascriptErrorMessage">
|
||||
<var:string label:value="noJavascriptError"
|
||||
/><br /><br
|
||||
/><a class="button" var:href="page.context.uri"
|
||||
|
||||
@@ -126,11 +126,27 @@ function modifyEvent(sender, modification) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function closeInvitationWindow() {
|
||||
var closeDiv = document.createElement("div");
|
||||
closeDiv.addClassName("javascriptPopupBackground");
|
||||
var closePseudoWin = document.createElement("div");
|
||||
closePseudoWin.addClassName("javascriptMessagePseudoWindow");
|
||||
closePseudoWin.style.top = "0px;";
|
||||
closePseudoWin.style.left = "0px;";
|
||||
closePseudoWin.style.right = "0px;";
|
||||
closePseudoWin.appendChild(document.createTextNode(labels["closeThisWindowMessage"].decodeEntities()));
|
||||
document.body.appendChild(closeDiv);
|
||||
document.body.appendChild(closePseudoWin);
|
||||
}
|
||||
|
||||
function modifyEventCallback(http) {
|
||||
if (http.readyState == 4) {
|
||||
if (http.status == 200) {
|
||||
log("closing window...?");
|
||||
window.close();
|
||||
if (queryParameters["mail-invitation"] == "yes")
|
||||
closeInvitationWindow();
|
||||
else
|
||||
window.close();
|
||||
}
|
||||
else {
|
||||
log("showing alert...");
|
||||
|
||||
@@ -646,7 +646,7 @@ INPUT#searchValue
|
||||
background-position: 2px 2px;
|
||||
color: #aaa; }
|
||||
|
||||
DIV#noJavascriptError
|
||||
DIV.javascriptPopupBackground
|
||||
{ position: absolute;
|
||||
background: #999;
|
||||
-moz-opacity: 0.6;
|
||||
@@ -657,7 +657,7 @@ DIV#noJavascriptError
|
||||
bottom: 0px;
|
||||
text-align: center; }
|
||||
|
||||
DIV.noJavascriptErrorMessage
|
||||
DIV.javascriptMessagePseudoWindow
|
||||
{ position: absolute;
|
||||
z-index: 2;
|
||||
border-top: 2px solid #fffffb;
|
||||
@@ -669,15 +669,16 @@ DIV.noJavascriptErrorMessage
|
||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow transparent;
|
||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow transparent;
|
||||
padding: 1em;
|
||||
top: 10em;
|
||||
left: 17em;
|
||||
width: 24em;
|
||||
margin: 0px auto;
|
||||
background: #fff;
|
||||
-moz-opacity: 1.0;
|
||||
color: #000;
|
||||
background: #dedede; }
|
||||
|
||||
DIV.noJavascriptErrorMessage
|
||||
{ top: 10em;
|
||||
left: 17em;
|
||||
width: 24em; }
|
||||
|
||||
DIV.noJavascriptErrorMessage A
|
||||
{ float: right;
|
||||
margin: 0px auto; }
|
||||
|
||||
Reference in New Issue
Block a user