From dbbb29429e8215bc81b58a4d33fcd8644f64a32d Mon Sep 17 00:00:00 2001 From: Mohammad Zubair Ali Date: Thu, 28 Mar 2024 15:14:10 +0530 Subject: [PATCH] update onload js to update select labels --- js/qsm-admin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/qsm-admin.js b/js/qsm-admin.js index d9b3669dd..41b8c69a1 100644 --- a/js/qsm-admin.js +++ b/js/qsm-admin.js @@ -1767,6 +1767,7 @@ var QSMContact; jQuery(this).find('option.qsm-score-criteria-container').show() jQuery(this).find('.email-condition-operator-container').show(); } + jQuery(this).find('.email-extra-condition-category-container .qsm-extra-condition-label').html( jQuery(this).find('.email-condition-category option:selected' ).text()); }); jQuery(document).trigger('qsm_after_add_email_condition', [$email, category, extra_condition, criteria, operator, value]); }, @@ -3787,6 +3788,7 @@ var import_button; jQuery(this).find('option.qsm-score-criteria-container').show() jQuery(this).find('.results-page-condition-operator-container').show(); } + jQuery(this).find('.results-page-extra-condition-category-container .qsm-extra-condition-label').html( jQuery(this).find('.results-page-condition-category option:selected' ).text()); }); jQuery(document).trigger('qsm_after_add_result_condition', [$page, category, extra_condition, criteria, operator, value]); },