Skip to content

Commit

Permalink
closed model after link or import question
Browse files Browse the repository at this point in the history
  • Loading branch information
etchirag committed Oct 1, 2024
1 parent dec3354 commit 533a9c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/qsm-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3300,7 +3300,7 @@ var qsm_link_button;
import_button = $(this);
$('.import-button').addClass('disable_import');
QSMQuestion.addQuestionFromQuestionBank($(this).data('question-id'));
// MicroModal.close('modal-2');
MicroModal.close('modal-2');
});


Expand All @@ -3311,6 +3311,7 @@ var qsm_link_button;
$('.link-question').addClass('disable_import');
// 1 for the linking the questions default is 0
QSMQuestion.addQuestionFromQuestionBank($(this).data('question-id'), 1);
MicroModal.close('modal-2');
});

jQuery(document).on('click', '.qsm-linked-list-div-block .qsm-linked-list-view-button', function () {
Expand Down

0 comments on commit 533a9c5

Please sign in to comment.