Commit d31ad862efa1a9306690067f5d1cd68aa32fed4e

Authored by Edmar Moretti
1 parent a7de5d62

Correção nas funções de chamada de javascript

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
classesjs/wscliente.js
... ... @@ -41,7 +41,7 @@ Veja:
41 41  
42 42 <i3geo/wscliente.htm>
43 43  
44   -<i3geo/classesjs/funcoes.js>
  44 +<i3geo/classesjs/wscliente.js>
45 45 */
46 46 var scriptLocation = "";
47 47 var scripts = document.getElementsByTagName('script');
... ... @@ -59,11 +59,11 @@ for (var i = 0; i &lt; scripts.length; i++) {
59 59 var allScriptTags = "";
60 60 var jsfiles = new Array()
61 61 if(typeof(testafuncoes) == 'undefined')
62   -{jsfiles[1] = "compactados/funcoes_compacto.js"}
  62 +{jsfiles[0] = "compactados/funcoes_compacto.js"}
63 63 if(typeof(cpaint) == 'undefined')
64   -{jsfiles[2] = "../pacotes/cpaint/cpaint2.inc.compressed.js"}
  64 +{jsfiles[1] = "../pacotes/cpaint/cpaint2.inc.compressed.js"}
65 65 if(typeof(OpenLayers) == 'undefined')
66   -{jsfiles[3] = "../pacotes/openlayers/OpenLayers.js"}
  66 +{jsfiles[2] = "../pacotes/openlayers/OpenLayers.js"}
67 67 for (var i = 0; i < jsfiles.length; i++)
68 68 {
69 69 var currentScriptTag = "<script src='" + scriptLocation + jsfiles[i] + "'></script>";
... ...