OpenLayers OpenLayers

Changeset 1373

Show
Ignore:
Timestamp:
08/25/06 14:23:55 (2 years ago)
Author:
crschmidt
Message:

Commit XHTML patch. Closes #177.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openlayers/2.0/lib/OpenLayers.js

    r1205 r1373  
    109109        var currentScriptTag = "<script src='" + host + jsfiles[i] + "'></script>";  
    110110        allScriptTags += currentScriptTag; 
     111        var currentScriptElem  = document.createElement('script'); 
     112        currentScriptElem.type = 'text/javascript'; 
     113        currentScriptElem.src  = host + jsfiles[i]; 
     114 
     115        document.getElementsByTagName("head")[0].appendChild(currentScriptElem); 
     116 
    111117    } 
    112118    document.write(allScriptTags);