sourceTree = "<group>";
tabWidth = 8;
};
+ AD0A0ACB07A8093400D3B8EF = {
+ fileEncoding = 4;
+ isa = PBXFileReference;
+ lastKnownFileType = text.xml;
+ path = UIxMailWindowCloser.wox;
+ refType = 4;
+ sourceTree = "<group>";
+ };
+ AD0A0ACC07A8093400D3B8EF = {
+ fileEncoding = 4;
+ isa = PBXFileReference;
+ lastKnownFileType = sourcecode.c.objc;
+ path = UIxMailWindowCloser.m;
+ refType = 4;
+ sourceTree = "<group>";
+ };
AD152B6F06AC159A002375D2 = {
fileEncoding = 4;
indentWidth = 8;
ADC07230072E9BFB00C125E0,
ADDF4DCE06DE0E9A00C4E7F8,
ADDF4DCF06DE0E9A00C4E7F8,
+ AD0A0ACC07A8093400D3B8EF,
+ AD0A0ACB07A8093400D3B8EF,
);
isa = PBXGroup;
name = Components;
-2004-01-07 Marcus Mueller <znek@mulle-kybernetik.com>
+2005-01-26 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * UIxMailWindowCloser.{m,wox}: new component which closes the window
+ in its "onLoad".
+
+ * UIxMailEditor.m: close window after successful send by opening
+ UIxMailWindowCloser. This fixes SOGo Bug #1053.
+
+ * v0.9.72
+
+2005-01-07 Marcus Mueller <znek@mulle-kybernetik.com>
* {English/French}.lproj/default.strings: changed encoding from
ISO-Latin-1 to UTF-8, which is now the default (v0.9.71)
UIxMailEditorAction.m \
UIxMailToSelection.m \
UIxMailAddressbook.m \
+ UIxMailWindowCloser.m \
\
UIxMailPartViewer.m \
UIxMailPartTextViewer.m \
UIxMailEditorAttach.wox \
UIxMailToSelection.wox \
UIxMailAddressbook.wox \
+ UIxMailWindowCloser.wox \
\
UIxMailPartTextViewer.wox \
UIxMailPartMixedViewer.wox \
return error;
// if everything is ok, close the window (send a JS closing the Window)
-#warning TODO: send window close JavaScript
- [self logWithFormat:@"TODO: should close the send window"];
- return self;
+ return [self pageWithName:@"UIxMailWindowCloser"];
}
- (id)deleteAction {
--- /dev/null
+/*
+ Copyright (C) 2000-2004 SKYRIX Software AG
+
+ This file is part of OGo
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+// $Id$
+
+#include <NGObjWeb/NGObjWeb.h>
+
+@interface UIxMailWindowCloser : WOComponent
+{
+
+}
+
+@end
+
+#include "common.h"
+
+@implementation UIxMailWindowCloser
+
+@end
--- /dev/null
+<?xml version='1.0' standalone='yes'?>
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:var="http://www.skyrix.com/od/binding"
+ xmlns:const="http://www.skyrix.com/od/constant"
+ xmlns:rsrc="OGo:url"
+ xmlns:label="OGo:label"
+>
+ <head>
+ <title><var:string label:value="OpenGroupware.org"/></title>
+ <meta name="description" content="SOGo Web Interface"/>
+ <meta name="author" content="SKYRIX Software AG"/>
+ <meta name="robots" content="stop"/>
+ <link href="mailto:info@skyrix.com" rev="made"/>
+ </head>
+
+ <body onload="window.close()">
+ </body>
+</html>
\ No newline at end of file
# version file
-SUBMINOR_VERSION:=71
+SUBMINOR_VERSION:=72
# v0.9.70 requires NGExtensions v4.5.136
# v0.9.69 requires libNGMime v4.5.203