/[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 671 by vpihour, Mon Nov 12 16:28:16 2012 UTC revision 672 by vpihour, Mon Nov 12 17:29:24 2012 UTC
# Line 242  function tmpUpload(champ) { Line 242  function tmpUpload(champ) {
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')
# Line 414  function changeDemandeType(){ Line 428  function changeDemandeType(){
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">' +

Legend:
Removed from v.671  
changed lines
  Added in v.672

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26