Commit ec4d3e7c131bacae0a7354135f79e14154a93aec
1 parent
e107a436
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
ferramentas/graficointerativo/index.js
| ... | ... | @@ -957,7 +957,7 @@ i3GEOF.graficointerativo = { |
| 957 | 957 | Ordena uma coluna da tabela |
| 958 | 958 | */ |
| 959 | 959 | ordenaColuna: function(coluna,cid){ |
| 960 | - try{ | |
| 960 | + | |
| 961 | 961 | var tabela = $i("i3GEOgraficointerativoDados").getElementsByTagName("table")[0], |
| 962 | 962 | trs = tabela.getElementsByTagName("tr"), |
| 963 | 963 | ntrs = trs.length, |
| ... | ... | @@ -974,6 +974,7 @@ i3GEOF.graficointerativo = { |
| 974 | 974 | |
| 975 | 975 | function sortNumber(a,b) |
| 976 | 976 | {return a - b;} |
| 977 | + | |
| 977 | 978 | for (t=1;t<ntrs;t++) |
| 978 | 979 | { |
| 979 | 980 | temp = trs[t].childNodes[cid]; |
| ... | ... | @@ -999,8 +1000,7 @@ i3GEOF.graficointerativo = { |
| 999 | 1000 | {ins += "<tr>" + trs[e].innerHTML + "</tr>";} |
| 1000 | 1001 | } |
| 1001 | 1002 | tabela.innerHTML = ins; |
| 1002 | - } | |
| 1003 | - catch(e){} | |
| 1003 | + | |
| 1004 | 1004 | }, |
| 1005 | 1005 | /* |
| 1006 | 1006 | Function: ativaNavegacao |
| ... | ... | @@ -1053,7 +1053,7 @@ if (!this.JSON1) { |
| 1053 | 1053 | f(this.getUTCSeconds()) + 'Z'; |
| 1054 | 1054 | }; |
| 1055 | 1055 | var escapeable = /["\\\x00-\x1f\x7f-\x9f]/g, |
| 1056 | - gap, | |
| 1056 | + gap = 0, | |
| 1057 | 1057 | indent, |
| 1058 | 1058 | meta = { // table of character substitutions |
| 1059 | 1059 | '\b': '\\b', |
| ... | ... | @@ -1064,7 +1064,7 @@ if (!this.JSON1) { |
| 1064 | 1064 | '"' : '\\"', |
| 1065 | 1065 | '\\': '\\\\' |
| 1066 | 1066 | }, |
| 1067 | - rep; | |
| 1067 | + rep = 0; | |
| 1068 | 1068 | function quote(string) { |
| 1069 | 1069 | return escapeable.test(string) ? |
| 1070 | 1070 | '"' + string.replace(escapeable, function (a) { | ... | ... |