/[openfoncier]/trunk/app/js/script.js
ViewVC logotype

Diff of /trunk/app/js/script.js

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

revision 1119 by nhaye, Fri Dec 21 16:22:39 2012 UTC revision 1120 by vpihour, Fri Dec 21 17:04:29 2012 UTC
# Line 1127  function fieldReferenceCadastraleBase(){ Line 1127  function fieldReferenceCadastraleBase(){
1127                  'type="text" ' +                  'type="text" ' +
1128                  'onchange="VerifNum(this)" ' +                  'onchange="VerifNum(this)" ' +
1129                  'maxlength="4" ' +                  'maxlength="4" ' +
1130                  'size="4" ';                  'size="4" '+
1131                    'placeholder="Quart." ';
1132                                    
1133      // désactivation des champs de référence cadastrale      // désactivation des champs de référence cadastrale
1134      if(type != 'NOUV' || $(".form-is-valid").size() > 0 || url.indexOf('action=3') != -1 ) {      if(type != 'NOUV' || $(".form-is-valid").size() > 0 || url.indexOf('action=3') != -1 ) {
# Line 1140  function fieldReferenceCadastraleBase(){ Line 1141  function fieldReferenceCadastraleBase(){
1141                  'class="champFormulaire reference_cadastrale_custom_field" ' +                  'class="champFormulaire reference_cadastrale_custom_field" ' +
1142                  'type="text" ' +                  'type="text" ' +
1143                  'maxlength="3" ' +                  'maxlength="3" ' +
1144                  'size="3" ';                  'size="3" '+
1145                    'placeholder="Sect." ';
1146            
1147      // désactivation des champs de référence cadastrale      // désactivation des champs de référence cadastrale
1148      if(type != 'NOUV' || $(".form-is-valid").size() > 0 || url.indexOf('action=3') != -1 ) {      if(type != 'NOUV' || $(".form-is-valid").size() > 0 || url.indexOf('action=3') != -1 ) {
# Line 1154  function fieldReferenceCadastraleBase(){ Line 1156  function fieldReferenceCadastraleBase(){
1156                  'type="text" ' +                  'type="text" ' +
1157                  'onchange="VerifNum(this)" ' +                  'onchange="VerifNum(this)" ' +
1158                  'maxlength="5" ' +                  'maxlength="5" ' +
1159                  'size="5" ';                  'size="5" '+
1160                    'placeholder="Parc." ';
1161            
1162      // désactivation des champs de référence cadastrale      // désactivation des champs de référence cadastrale
1163      if(type != 'NOUV' || $(".form-is-valid").size() > 0 || url.indexOf('action=3') != -1 ) {      if(type != 'NOUV' || $(".form-is-valid").size() > 0 || url.indexOf('action=3') != -1 ) {
# Line 1267  function newInputReferenceCadastrale(){ Line 1270  function newInputReferenceCadastrale(){
1270              'maxlength="1" ' +              'maxlength="1" ' +
1271              'size="1" ' +              'size="1" ' +
1272              'value="" ' +              'value="" ' +
1273                'placeholder="Sep." ' +
1274              'onchange="testSeparator(this);"/>' +              'onchange="testSeparator(this);"/>' +
1275          '<input ' +          '<input ' +
1276              'class="champFormulaire reference_cadastrale_custom_field" ' +              'class="champFormulaire reference_cadastrale_custom_field" ' +
# Line 1274  function newInputReferenceCadastrale(){ Line 1278  function newInputReferenceCadastrale(){
1278              'onchange="VerifNum(this)" ' +              'onchange="VerifNum(this)" ' +
1279              'maxlength="4" ' +              'maxlength="4" ' +
1280              'size="4" ' +              'size="4" ' +
1281                'placeholder="Parc." ' +
1282              'value="" />';              'value="" />';
1283  }  }
1284    

Legend:
Removed from v.1119  
changed lines
  Added in v.1120

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26