integration/js/common.js
changeset 70 2542e988f80c
parent 66 dd2fbf4c998f
child 74 22aca5b735a2
equal deleted inserted replaced
67:807525d1ad8e 70:2542e988f80c
    29         });
    29         });
    30 
    30 
    31     });
    31     });
    32 
    32 
    33     $('.popup').on('click', '.popup-content a', function(e){
    33     $('.popup').on('click', '.popup-content a', function(e){
    34         e.preventDefault();
    34         
       
    35         if($(this).hasClass('no-prevent')){
       
    36             return true;
       
    37         }else{
       
    38             e.preventDefault();
       
    39         }
    35         if($(this).hasClass('btn-cancel')){
    40         if($(this).hasClass('btn-cancel')){
    36             $(this).parents('.popup').modal('hide');
    41             $(this).parents('.popup').modal('hide');
    37         }
    42         }
    38         if($(this).hasClass('btn-previsualisation')){
    43         if($(this).hasClass('btn-previsualisation')){
    39             var imgPrev = $('<img src="img/520x520.gif" alt="" />');
    44             var imgPrev = $('<img src="img/520x520.gif" alt="" />');