diff --git a/app/assets/javascripts/report-a-problem.js b/app/assets/javascripts/report-a-problem.js index fc8d611a6..ea363fddc 100644 --- a/app/assets/javascripts/report-a-problem.js +++ b/app/assets/javascripts/report-a-problem.js @@ -2,8 +2,8 @@ var ReportAProblem = { showErrorMessage: function (jqXHR) { var response = "
We have other ways for you to provide feedback on the " + - "support page.
" - $('.report-a-problem-container').html(response); + "contact page." + $('.report-a-problem-content').html(response); }, promptUserToEnterValidData: function() { @@ -20,7 +20,7 @@ var ReportAProblem = { }, showConfirmation: function(data) { - $('.report-a-problem-container').html(data.message); + $('.report-a-problem-content').html(data.message); }, submit: function() { diff --git a/spec/javascripts/report-a-problem-spec.js b/spec/javascripts/report-a-problem-spec.js index cd0708a94..fcc194fcb 100644 --- a/spec/javascripts/report-a-problem-spec.js +++ b/spec/javascripts/report-a-problem-spec.js @@ -1,5 +1,9 @@ describe("form submission for reporting a problem", function () { - var FORM_TEXT = ''; + var FORM_TEXT = '