Commit dcf0bcb650a84b5ff2e3434fe8a93728728aa619
1 parent
49c04c5d
Exists in
master
and in
7 other branches
Correção no carregamento dos arquivos javascript no aplicativo de geração de lin…
…ks. O uso errado dos índices no array com a lista de JS estava provocando um erro do tipo "not found" no servidor
Showing
1 changed file
with
2 additions
and
10 deletions
Show diff stats
classesjs/geradordelinks.js
| ... | ... | @@ -61,16 +61,8 @@ for (var i = 0; i < scripts.length; i++) { |
| 61 | 61 | } |
| 62 | 62 | var allScriptTags = ""; |
| 63 | 63 | var jsfiles = new Array() |
| 64 | -/* | |
| 65 | -if(typeof(testafuncoes) == 'undefined') | |
| 66 | -{jsfiles[1] = "compactados/funcoes_compacto.js"} | |
| 67 | -if(typeof(cpaint) == 'undefined') | |
| 68 | -{jsfiles[2] = "../pacotes/cpaint/cpaint2.inc.compressed.js"} | |
| 69 | -if(typeof(OpenLayers) == 'undefined') | |
| 70 | -{jsfiles[3] = "../pacotes/openlayers/OpenLayers.js"} | |
| 71 | -*/ | |
| 72 | -jsfiles[1] = "i3geo_tudo_compacto.js.php" | |
| 73 | -jsfiles[2] = "../pacotes/openlayers/OpenLayers.js" | |
| 64 | +jsfiles[0] = "i3geo_tudo_compacto.js.php" | |
| 65 | +jsfiles[1] = "../pacotes/openlayers/OpenLayers.js" | |
| 74 | 66 | for (var i = 0; i < jsfiles.length; i++) |
| 75 | 67 | { |
| 76 | 68 | var currentScriptTag = "<script src='" + scriptLocation + jsfiles[i] + "'></script>"; | ... | ... |