/[openfoncier]/branches/3.2.x/app/js/script.js
ViewVC logotype

Diff of /branches/3.2.x/app/js/script.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 265 by fraynaud, Tue Dec 6 08:49:57 2011 UTC revision 271 by fraynaud, Wed Dec 14 09:14:46 2011 UTC
# Line 63  function onSaisieSelect(evt){ Line 63  function onSaisieSelect(evt){
63      pfenetre=window.open("../app/form_sig.php?obj="+obj+"&idx="+idx+"&geom="+geom+"&table="+table+"&champ="+champ, 'saisie_geometrie', 'width=400,height=300,top=120,left=120' );      pfenetre=window.open("../app/form_sig.php?obj="+obj+"&idx="+idx+"&geom="+geom+"&table="+table+"&champ="+champ, 'saisie_geometrie', 'width=400,height=300,top=120,left=120' );
64      fenetreouverte=true;      fenetreouverte=true;
65  }  }
66    
67    function VerifNumdec(champ) {
68        champ.value = champ.value.replace(",", "."); // remplacement de la virgule
69        //if (champ.value.lastIndexOf(".") == -1){ // champ decimal
70            if (isNaN(champ.value)) {
71                alert(msg_alert_error_verifnum);
72                champ.value = "";
73                return;
74            }
75        //}
76        
77    }

Legend:
Removed from v.265  
changed lines
  Added in v.271

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26