@"</style>"];
[_response appendContentString:
@"<script language=\"JavaScript\">\n"
- @"<!--\n"
@"var DDLlayerCount = 1000;\n"
@"function DDLopen(layerObj,el) {\n"
@" if (layerObj.style.visibility == 'hidden') {\n"
@" 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)]
[_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];
#include "calendar.jsm"
;
[_response appendContentString: tmp];
- [_response appendContentString: @"\n//-->\n</script>"];
+ [_response appendContentString: @"\n</script>"];
[_ctx takeValue: [NSNumber numberWithBool: YES]
forKey: @"WEDateFieldScriptDone"];