242 |
* */ |
* */ |
243 |
$(function() { |
$(function() { |
244 |
|
|
245 |
|
$.ajax({ |
246 |
|
type: "GET", |
247 |
|
url: "sousform.php?obj=demandeur&action=0&tri=&objsf=demandeur&premiersf=0", |
248 |
|
cache: false, |
249 |
|
success: function(html){ |
250 |
|
|
251 |
|
$('.lots').append(html); |
252 |
|
}, |
253 |
|
error:function (xhr, ajaxOptions, thrownError){ |
254 |
|
alert(xhr.status); |
255 |
|
alert(thrownError); |
256 |
|
} |
257 |
|
}); |
258 |
|
|
259 |
url = document.location + "" ; |
url = document.location + "" ; |
260 |
if ( $('#date_demande').length > 0 |
if ( $('#date_demande').length > 0 |
261 |
&& !$('#dossier_autorisation_type_detaille').is(':disabled') |
&& !$('#dossier_autorisation_type_detaille').is(':disabled') |
428 |
function addNewFieldReferencesCadastrales(){ |
function addNewFieldReferencesCadastrales(){ |
429 |
$('.references_cadastrales_new_field').remove(); |
$('.references_cadastrales_new_field').remove(); |
430 |
$('.moreFieldReferenceCadastrale').remove(); |
$('.moreFieldReferenceCadastrale').remove(); |
431 |
|
$('#morelineReferenceCadastrale').remove(); |
432 |
$('.localisation .fieldsetContent').prepend( |
$('.localisation .fieldsetContent').prepend( |
433 |
'<div class="field field-type-text references_cadastrales_new_field" >'+ |
'<div class="field field-type-text references_cadastrales_new_field" >'+ |
434 |
'<div class="form-libelle">' + |
'<div class="form-libelle">' + |