diff --git a/js/qsm-admin.js b/js/qsm-admin.js index f9530c038..24b546fad 100644 --- a/js/qsm-admin.js +++ b/js/qsm-admin.js @@ -3132,8 +3132,6 @@ var import_button; jQuery(document).trigger('qsm_question_type_change_after', [question_val]); }); - - //Add new category $(document).on('click', '#qsm-category-add-toggle', function () { if ($('#qsm-category-add').is(":visible")) { diff --git a/js/qsm-quiz.js b/js/qsm-quiz.js index b448452b3..50af5e8b2 100644 --- a/js/qsm-quiz.js +++ b/js/qsm-quiz.js @@ -867,9 +867,7 @@ function qmnFormSubmit(quiz_form_id) { fd.append("currentuserTimeZone", Intl.DateTimeFormat().resolvedOptions().timeZone); qsmEndTimeTakenTimer(quiz_id); - if (qmn_quiz_data[quiz_id].hasOwnProperty('advanced_timer') && qmn_quiz_data[quiz_id].advanced_timer.hasOwnProperty('show_stop_timer') ) { - QSMPageTimer.endPageTimer(quiz_id); - } + if (qmn_quiz_data[quiz_id].hasOwnProperty('timer_limit')) { QSM.endTimer(quiz_id); } diff --git a/php/admin/admin-results-page.php b/php/admin/admin-results-page.php index dbd117d61..4d9fdf8a4 100644 --- a/php/admin/admin-results-page.php +++ b/php/admin/admin-results-page.php @@ -571,7 +571,7 @@ function qsm_results_overview_tab_content() {