# HG changeset patch # User Anthony Ly # Date 1370274417 -7200 # Node ID 2542e988f80c66634bbdd00d926f5638647e812d # Parent 807525d1ad8e3856083c318b0ebfa8e3c6f0cab9 no-prevent class on bibliotheque diff -r 807525d1ad8e -r 2542e988f80c integration/js/common.js --- a/integration/js/common.js Mon Jun 03 13:33:35 2013 +0200 +++ b/integration/js/common.js Mon Jun 03 17:46:57 2013 +0200 @@ -31,7 +31,12 @@ }); $('.popup').on('click', '.popup-content a', function(e){ - e.preventDefault(); + + if($(this).hasClass('no-prevent')){ + return true; + }else{ + e.preventDefault(); + } if($(this).hasClass('btn-cancel')){ $(this).parents('.popup').modal('hide'); } diff -r 807525d1ad8e -r 2542e988f80c integration/js/edition.js --- a/integration/js/edition.js Mon Jun 03 13:33:35 2013 +0200 +++ b/integration/js/edition.js Mon Jun 03 17:46:57 2013 +0200 @@ -498,10 +498,10 @@ var currentTimePlusUnMin = 60 * 1000 + myMedia.currentTime, endAnnotation = (currentTimePlusUnMin