diff --git a/cms/static/js/views/overview.js b/cms/static/js/views/overview.js index 90360df059..954c606de5 100644 --- a/cms/static/js/views/overview.js +++ b/cms/static/js/views/overview.js @@ -36,7 +36,10 @@ define(["domReady", "jquery", "jquery.ui", "underscore", "gettext", "js/views/fe }; - var closeModalNew = function () { + var closeModalNew = function (e) { + if (e) { + e.preventDefault(); + }; $('body').removeClass('modal-window-is-shown'); $('.edit-section-publish-settings').removeClass('is-shown'); }; diff --git a/cms/static/sass/views/_outline.scss b/cms/static/sass/views/_outline.scss index a2b1d2d204..d4e58bc3fa 100644 --- a/cms/static/sass/views/_outline.scss +++ b/cms/static/sass/views/_outline.scss @@ -517,7 +517,7 @@ visibility: hidden; pointer-events: none; display: none; - position: absolute; + position: fixed; top: 0; overflow: scroll; background: $black-t2;