Skip to content

Commit

Permalink
LSNBLDR-859 - Add Content and More Tools menus open far off in the mi…
Browse files Browse the repository at this point in the history
…ddle of the page (sakaiproject#4754)
  • Loading branch information
jonespm authored Sep 1, 2017
1 parent 6acb222 commit bb8fe28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lessonbuilder/tool/src/webapp/js/show-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,14 +377,14 @@ $(document).ready(function() {

$('#addContentDiv').dialog({
autoOpen: false,
modal: true,
modal: false,
resizable: false,
draggable: false
}).parent('.ui-dialog').css('zIndex',150000);

$('#moreDiv').dialog({
autoOpen: false,
modal: true,
modal: false,
resizable: false,
draggable: false
}).parent('.ui-dialog').css('zIndex',150000);
Expand Down Expand Up @@ -3224,6 +3224,7 @@ function openDropdown(dropDiv, button, title) {
closeDropdowns();
hideMultimedia();
dropDiv.dialog('option', 'title', title);
dropDiv.dialog('option', 'position', { my: 'left top', at: 'left bottom', of: button });
dropDiv.dialog('open');
dropDiv.find("a").first().focus();
if (addAboveItem === '')
Expand Down

0 comments on commit bb8fe28

Please sign in to comment.