Index: lams_central/web/includes/javascript/dialog.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/dialog.js,v diff -u -r1.1.2.11 -r1.1.2.12 --- lams_central/web/includes/javascript/dialog.js 27 Oct 2016 04:41:26 -0000 1.1.2.11 +++ lams_central/web/includes/javascript/dialog.js 27 Oct 2016 05:57:29 -0000 1.1.2.12 @@ -100,10 +100,26 @@ modalDialog.css({ 'margin' : 0 }); - dialog.width(modalDialog.outerWidth(true)); - dialog.height(modalDialog.outerHeight(true)); + dialog.width(modalDialog.outerWidth(true) + 5); + dialog.height(modalDialog.outerHeight(true) + 5); // remove overlay dialog.siblings('.modal-backdrop').remove(); + + dialog.position({ + 'of' : 'body' + }); + + if (initParams.draggable) { + modalDialog.on('drag', function(event, ui){ + dialog.offset({ + 'top' : ui.offset.top + 5, + 'left' : ui.offset.left + 5 + }); + modalDialog.css({ + 'position' : 'static' + }); + }); + } }); } Index: lams_central/web/includes/javascript/groupDisplay.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/groupDisplay.js,v diff -u -r1.37.2.27 -r1.37.2.28 --- lams_central/web/includes/javascript/groupDisplay.js 27 Oct 2016 04:36:20 -0000 1.37.2.27 +++ lams_central/web/includes/javascript/groupDisplay.js 27 Oct 2016 05:57:29 -0000 1.37.2.28 @@ -586,6 +586,7 @@ showDialog('dialogAuthoring', { 'height' : Math.max(300, $(window).height() - 40), 'width' : 1280, + 'modal' : false, 'title' : LABELS.AUTHORING_TITLE, 'beforeClose' : function(){ // if LD was modified, ask the user if he really wants to exit