Skip to content

Commit

Permalink
SAK-50419 Lessons Change File dialog not appearing (sakaiproject#12835)
Browse files Browse the repository at this point in the history
  • Loading branch information
ern authored Sep 3, 2024
1 parent 58d66c1 commit f970613
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lessonbuilder/tool/src/webapp/js/show-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,12 @@ $(document).ready(function () {
});

$('.change-resource-movie').click(function () {
const deleteEl = document.querySelector("#movie-dialog");
const modal = bootstrap.Modal.getInstance(deleteEl);
modal && modal.hide();
const mmEl = document.querySelector("#add-multimedia-dialog");
const mmModal = bootstrap.Modal.getOrCreateInstance(mmEl);
mmModal && mmModal.show();

mm_test_reset();
$("#mm-name-section").hide();
Expand Down

0 comments on commit f970613

Please sign in to comment.