Commit c5af07904aed3217462155b99cb1057ede8b3af0

Authored by Edmar Moretti
1 parent 30775708

--no commit message

Showing 1 changed file with 6 additions and 5 deletions   Show diff stats
ferramentas/metaestat/index.js
... ... @@ -2539,11 +2539,11 @@ i3GEOF.metaestat = {
2539 2539 * Define como funcao de onclick i3GEOF.metaestat.editor.inicia()
2540 2540 */
2541 2541 botaoJanelaEditor: function(){
2542   - new YAHOO.widget.Button(
  2542 + var b = new YAHOO.widget.Button(
2543 2543 "i3GEOcartoBotaoEditor",
2544 2544 {onclick:{fn: i3GEOF.metaestat.editor.inicia}}
2545 2545 );
2546   - $i("i3GEOcartoBotaoEditor-button").style.width = (i3GEOF.metaestat.LARGURA / 2) - 15 + "px";
  2546 + b.addClass("abrir100");
2547 2547 },
2548 2548 /**
2549 2549 * Formata o botao que adiciona uma nova camada ao mapa e define a funcao que sera executada
... ... @@ -2559,10 +2559,11 @@ i3GEOF.metaestat = {
2559 2559 YAHOO.i3GEO.janela.manager.find("i3geoCartoParametros").setFooter('<input type="button" id="i3GEOcartoBotaoAdicionaCamada" value="'+$trad('adicionaCamada',i3GEOF.metaestat.dicionario)+'" class="paragrafo" style="width:200px;cursor:pointer;color:blue" />');
2560 2560 }
2561 2561 if(!$i("i3GEOcartoBotaoAdicionaCamada-button")){
2562   - new YAHOO.widget.Button(
  2562 + b = new YAHOO.widget.Button(
2563 2563 "i3GEOcartoBotaoAdicionaCamada",
2564 2564 {onclick:{fn: i3GEOF.metaestat.comum.adicionaCamada}}
2565 2565 );
  2566 + b.addClass("rodar");
2566 2567 $i("i3GEOcartoBotaoAdicionaCamada-button").style.width = largura + "px";
2567 2568 }
2568 2569 },
... ... @@ -2572,11 +2573,11 @@ i3GEOF.metaestat = {
2572 2573 * Define como funcao de onclick i3GEOF.metaestat.analise.inicia()
2573 2574 */
2574 2575 botaoJanelaAnalise: function(){
2575   - new YAHOO.widget.Button(
  2576 + b = new YAHOO.widget.Button(
2576 2577 "i3GEOcartoBotaoAnalise",
2577 2578 {onclick:{fn: i3GEOF.metaestat.analise.inicia}}
2578 2579 );
2579   - $i("i3GEOcartoBotaoAnalise-button").style.width = (i3GEOF.metaestat.LARGURA / 2) - 15 + "px";
  2580 + b.addClass("abrir100");
2580 2581 },
2581 2582 /**
2582 2583 * Obtem a lista de variaveis cadastradas e monta as opcoes correspondentes
... ...