+2005-07-10 Helge Hess <helge.hess@opengroupware.org>
+
+ * WEDropContainer.m: keep drop-script JavaScript code as a static
+ (v4.5.74)
+
2005-05-03 Helge Hess <helge.hess@opengroupware.org>
* GNUmakefile.preamble: added strict bundle dependencies for MacOSX
@implementation WEDropScript
+static NSString *dropScript =
+#include "WEDropScript.jsm"
+;
+
+ (void)appendDropScriptToResponse:(WOResponse *)_response
inContext:(WOContext *)_ctx
{
doDnD = [[[_ctx request] clientCapabilities] doesSupportDHTMLDragAndDrop];
if (![[_ctx valueForKey:@"WEDropContainerScriptDone"] boolValue] && doDnD) {
- NSString *dropScript;
-
- dropScript =
-#include "WEDropScript.jsm"
- ;
-
[_response appendContentString:dropScript];
[_ctx takeValue:[NSNumber numberWithBool:YES]