Commit 9658160fbc26750f69146c94a8b7fed08fe5a31c
1 parent
60a50eae
Exists in
master
and in
7 other branches
correção no tamanho das guias do mapa quando o tamanho do mapa é alterado
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
ferramentas/opcoes_tamanho/index.js
@@ -52,6 +52,18 @@ function executaf() | @@ -52,6 +52,18 @@ function executaf() | ||
52 | doc.getElementById("mst").style.width = (l * 1) + calc + pos; | 52 | doc.getElementById("mst").style.width = (l * 1) + calc + pos; |
53 | doc.getElementById("contemImg").style.height= a+pos | 53 | doc.getElementById("contemImg").style.height= a+pos |
54 | doc.getElementById("contemImg").style.width= l+pos | 54 | doc.getElementById("contemImg").style.width= l+pos |
55 | + | ||
56 | + for(var g=0;g<12;g++) | ||
57 | + { | ||
58 | + if (window.parent.document.getElementById("guia"+g)) | ||
59 | + { | ||
60 | + window.parent.document.getElementById("guia"+g+"obj").style.height = window.parent.objmapa.h; | ||
61 | + } | ||
62 | + } | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
55 | window.parent.calcposf() | 67 | window.parent.calcposf() |
56 | window.parent.objaguarde.abre("ajaxredesenha","Aguarde...") | 68 | window.parent.objaguarde.abre("ajaxredesenha","Aguarde...") |
57 | var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=mudatamanho&altura="+a+"&largura="+l | 69 | var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=mudatamanho&altura="+a+"&largura="+l |