diff --git a/src/main/java/org/olat/modules/portfolio/ui/_content/binder_list.html b/src/main/java/org/olat/modules/portfolio/ui/_content/binder_list.html index 7479ee90549aed9f07e9ff4ddf70f12217528694..7a6d7b509a3356f0cc6e2a93396e4e238bb39752 100644 --- a/src/main/java/org/olat/modules/portfolio/ui/_content/binder_list.html +++ b/src/main/java/org/olat/modules/portfolio/ui/_content/binder_list.html @@ -17,11 +17,9 @@ jQuery(function() { return false; }, accepts: function (el, target) { - console.log('accepts'); return true; }, moves: function (el, container, handle) { - console.log('moves'); return handle.classList.contains('panel-heading') || handle.classList.contains('panel-title'); } }).on('drop', function(el, target, source, sibling) { diff --git a/src/main/webapp/static/js/jquery/openolat/jquery.contenteditor.js b/src/main/webapp/static/js/jquery/openolat/jquery.contenteditor.js index ff37a2227a5f361a0991f93c2bb629942fd8a5c9..58e421dffb934a5e4592f4fc2da915b50b3dc193 100644 --- a/src/main/webapp/static/js/jquery/openolat/jquery.contenteditor.js +++ b/src/main/webapp/static/js/jquery/openolat/jquery.contenteditor.js @@ -71,7 +71,7 @@ } else { var edited = jQuery(e.target).closest(".o_page_fragment_edit").length > 0 || jQuery(e.target).closest(".o_page_side_options").length > 0; - if(!edited) { + if(!edited && jQuery(".o_layered_panel .modal-dialog").length == 0) { o_XHREvent(componentUrl, false, false, 'cid', 'close_edit_fragment'); } }