Commit d31ad862efa1a9306690067f5d1cd68aa32fed4e
1 parent
a7de5d62
Exists in
master
and in
7 other branches
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,7 +41,7 @@ Veja: | ||
41 | 41 | ||
42 | <i3geo/wscliente.htm> | 42 | <i3geo/wscliente.htm> |
43 | 43 | ||
44 | -<i3geo/classesjs/funcoes.js> | 44 | +<i3geo/classesjs/wscliente.js> |
45 | */ | 45 | */ |
46 | var scriptLocation = ""; | 46 | var scriptLocation = ""; |
47 | var scripts = document.getElementsByTagName('script'); | 47 | var scripts = document.getElementsByTagName('script'); |
@@ -59,11 +59,11 @@ for (var i = 0; i < scripts.length; i++) { | @@ -59,11 +59,11 @@ for (var i = 0; i < scripts.length; i++) { | ||
59 | var allScriptTags = ""; | 59 | var allScriptTags = ""; |
60 | var jsfiles = new Array() | 60 | var jsfiles = new Array() |
61 | if(typeof(testafuncoes) == 'undefined') | 61 | if(typeof(testafuncoes) == 'undefined') |
62 | -{jsfiles[1] = "compactados/funcoes_compacto.js"} | 62 | +{jsfiles[0] = "compactados/funcoes_compacto.js"} |
63 | if(typeof(cpaint) == 'undefined') | 63 | if(typeof(cpaint) == 'undefined') |
64 | -{jsfiles[2] = "../pacotes/cpaint/cpaint2.inc.compressed.js"} | 64 | +{jsfiles[1] = "../pacotes/cpaint/cpaint2.inc.compressed.js"} |
65 | if(typeof(OpenLayers) == 'undefined') | 65 | if(typeof(OpenLayers) == 'undefined') |
66 | -{jsfiles[3] = "../pacotes/openlayers/OpenLayers.js"} | 66 | +{jsfiles[2] = "../pacotes/openlayers/OpenLayers.js"} |
67 | for (var i = 0; i < jsfiles.length; i++) | 67 | for (var i = 0; i < jsfiles.length; i++) |
68 | { | 68 | { |
69 | var currentScriptTag = "<script src='" + scriptLocation + jsfiles[i] + "'></script>"; | 69 | var currentScriptTag = "<script src='" + scriptLocation + jsfiles[i] + "'></script>"; |