Skip to content

Commit

Permalink
fix text per feedback, runtime error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen committed Mar 19, 2024
1 parent 100b0b8 commit 05c6b72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
<section class="portal-main portal-flex-container">
{%- block body -%}{%- endblock -%}
</section>
<div class="loading-container hide"><div class="content"><i class="fa fa-spinner fa-spin fa-2x"></i> Loading ...</div></div>
<div class="loading-container hide"><div class="content"><i class="fa fa-spinner fa-spin fa-2x"></i> Loading ...</div></div>
6 changes: 3 additions & 3 deletions portal/static/js/src/empro.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ emproObj.prototype.onAfterSubmitOptoutData = function (data) {
EmproObj.toggleOptoutSavingIndicator(false);
// show error if any
if (data && data.error) {
EmproObj.setOptoutError("System error: Unable to save your choices.");
EmproObj.setOptoutError("System error: Unable to save your choices. Please try again. Otherwise click 'Continue' or 'Dismiss' to continue.");
return false;
}
EmproObj.submittedOptOutDomains = EmproObj.selectedOptOutDomains;
Expand All @@ -187,7 +187,7 @@ emproObj.prototype.onAfterSubmitOptoutData = function (data) {
emproObj.prototype.handleSubmitOptoutData = function () {
if (!EmproObj.hasSelectedOptOutDomains()) {
EmproObj.setOptoutError(
"Please check at least one checkbox. Otherwise click 'Continue'."
"Please check at least one checkbox. Otherwise click 'Continue' or 'Dismiss' to continue."
);
return;
}
Expand Down Expand Up @@ -348,7 +348,7 @@ emproObj.prototype.init = function () {
if (result && result.error) {
console.log("Error retrieving trigger data");
if (result.reason) {
console.log(reason);
console.log("Error retrieving trigger data: ", result.reason);
}
}
tnthAjax.assessmentReport(
Expand Down

0 comments on commit 05c6b72

Please sign in to comment.