]> err.no Git - sope/commitdiff
minor improv in drop container
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Sun, 10 Jul 2005 22:00:35 +0000 (22:00 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Sun, 10 Jul 2005 22:00:35 +0000 (22:00 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@875 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/WEExtensions/ChangeLog
sope-appserver/WEExtensions/Version
sope-appserver/WEExtensions/WEDropContainer.m

index 60f62f5fd33b812ca1f44fbd2334bb77dc4322b5..7c6cca0a128710a3e40871c1cc2063faeeef3d87 100644 (file)
@@ -1,3 +1,8 @@
+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
index 5d5c4311583cd862c00428541401655e14de0fd9..6df08dfee6ee046d5b6bfe2785c04898aa05bfbb 100644 (file)
@@ -1,5 +1,5 @@
 # version file
 
-SUBMINOR_VERSION:=73
+SUBMINOR_VERSION:=74
 
 # v4.5.65 requires libNGObjWeb v4.5.106
index f480b568029599bee9d7d312a9b23f8692d36f99..5ea76213d00ef7a79cee04ca88c1eab19cbb3612 100644 (file)
 
 @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]