]> err.no Git - sope/commitdiff
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1343 e4a50df8-12e2-0310-a44c...
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 17 Aug 2006 17:42:42 +0000 (17:42 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 17 Aug 2006 17:42:42 +0000 (17:42 +0000)
sope-appserver/WEExtensions/WECalendarField.m

index 826551e4072653e9563ab8dd7e36c7b9e4b3ef58..c08ed8136d84b443c275890aa89828f00a39048f 100644 (file)
@@ -166,7 +166,6 @@ static NSString *retStr02ForInt(int i) {
       @"</style>"];
     [_response appendContentString:
       @"<script language=\"JavaScript\">\n"
-      @"<!--\n"
       @"var DDLlayerCount = 1000;\n"
       @"function DDLopen(layerObj,el) {\n"
       @"  if (layerObj.style.visibility == 'hidden') {\n"
@@ -190,7 +189,6 @@ static NSString *retStr02ForInt(int i) {
       @"      if (document.forms[i].elements[j].name == el)\n"
       @"        return document.forms[i].elements[j];\n"
       @"}\n"
-      @"//-->\n"
       @"</script>"];
   }
   [_ctx takeValue:[NSNumber numberWithInt:(divCount+1)]
@@ -793,7 +791,7 @@ static NSString *retStr02ForInt(int i) {
     [_response appendContentString: tmp];
 
     [_response appendContentString:
-               @"<script language=\"JavaScript\">\n<!--\n"];
+               @"<script language=\"JavaScript\">\n"];
     [_response appendContentString: @"var dateFormat = \"%Y-%m-%d\"; \n"];
     [_response appendContentString: tmon];
     [_response appendContentString: tweek];
@@ -858,7 +856,7 @@ static NSString *retStr02ForInt(int i) {
 #include "calendar.jsm"
       ;
     [_response appendContentString: tmp];
-    [_response appendContentString: @"\n//-->\n</script>"];
+    [_response appendContentString: @"\n</script>"];
     
     [_ctx takeValue: [NSNumber numberWithBool: YES]
           forKey: @"WEDateFieldScriptDone"];