--- a/integration/js/common.js Mon Jun 03 17:47:15 2013 +0200
+++ b/integration/js/common.js Tue Jun 04 12:50:33 2013 +0200
@@ -40,10 +40,7 @@
if($(this).hasClass('btn-cancel')){
$(this).parents('.popup').modal('hide');
}
- if($(this).hasClass('btn-previsualisation')){
- var imgPrev = $('<img src="img/520x520.gif" alt="" />');
- $('.previsualisation').empty().append(imgPrev);
- }
+
});
//confirmation suppression
@@ -57,11 +54,7 @@
});
$("#modal-confirm").on('shown', function() {
- $("#modal-confirm #btn-delete-modal").focus()
- });
-
- $("#modal-confirm").on('click', '#btn-delete-modal', function(e){
-
+ $("#modal-confirm #btn-delete-modal").focus();
});
});
\ No newline at end of file