Skip to content

Commit

Permalink
fixed sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairraeen committed Feb 7, 2024
1 parent 7404806 commit 720ed5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/qsm-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3635,7 +3635,7 @@ var import_button;
let result_page = jQuery(this).closest("header").next("main");
let conditions = [];
let redirect_value = result_page.find('.results-page-redirect').val();
var page = wp.editor.getContent( result_page.find('.results-page-template').attr('id') );
let page = wp.editor.getContent( result_page.find('.results-page-template').attr('id') );
result_page.find('.results-page-condition').each(function () {
conditions.push({
'category': $(this).find('.results-page-condition-category').val(),
Expand Down
5 changes: 4 additions & 1 deletion php/admin/options-page-email-tab.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ function qsm_options_emails_tab_template() {
<label><?php esc_html_e( 'Who to send the email to? Put %USER_EMAIL% to send to user', 'quiz-master-next' ); ?></label>
<?php do_action( 'qsm_after_send_email_label' ); ?>
<input type="email" class="qsm-to-email" value="{{ data.to }}">
<label class="qsm-email-reply-to"><input type="checkbox" class="reply-to" <# if ( "true" == data.replyTo || true == data.replyTo ) { #>checked<# } #>>Add user email as Reply-To</label>
<label class="qsm-email-reply-to">
<input type="checkbox" class="reply-to" <# if ( "true" == data.replyTo || true == data.replyTo ) { #>checked<# } #>>
<?php esc_html_e( 'Add user email as Reply-To', 'quiz-master-next' ); ?>
</label>
<label><?php esc_html_e( 'Email Subject', 'quiz-master-next' ); ?></label>
<input type="text" class="qsm-email-subject" value="{{ data.subject }}">
<label><?php esc_html_e( 'Email Content', 'quiz-master-next' ); ?></label>
Expand Down

0 comments on commit 720ed5f

Please sign in to comment.