From bfc602ae106cd62e8cbe5a03f8b5ee77bf68d95f Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 14 May 2018 14:58:29 -0400 Subject: [PATCH] Changed variable names --- awx/ui/client/src/partials/survey-maker-modal.html | 2 +- awx/ui/client/src/templates/survey-maker/surveys/add.factory.js | 2 +- .../client/src/templates/survey-maker/surveys/edit.factory.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/src/partials/survey-maker-modal.html b/awx/ui/client/src/partials/survey-maker-modal.html index c73a9dec77..b6acbe2ab3 100644 --- a/awx/ui/client/src/partials/survey-maker-modal.html +++ b/awx/ui/client/src/partials/survey-maker-modal.html @@ -84,7 +84,7 @@ - + diff --git a/awx/ui/client/src/templates/survey-maker/surveys/add.factory.js b/awx/ui/client/src/templates/survey-maker/surveys/add.factory.js index 51ac98c3fc..eef26fa5d6 100644 --- a/awx/ui/client/src/templates/survey-maker/surveys/add.factory.js +++ b/awx/ui/client/src/templates/survey-maker/surveys/add.factory.js @@ -7,7 +7,7 @@ export default // modal title. We want this toggle to be on by default scope.survey_enabled = true; - scope.initiallyHadQuestions = false; + scope.isEditSurvey = false; if (scope.removeDialogReady) { scope.removeDialogReady(); diff --git a/awx/ui/client/src/templates/survey-maker/surveys/edit.factory.js b/awx/ui/client/src/templates/survey-maker/surveys/edit.factory.js index c40f4751d3..90d2c734ce 100644 --- a/awx/ui/client/src/templates/survey-maker/surveys/edit.factory.js +++ b/awx/ui/client/src/templates/survey-maker/surveys/edit.factory.js @@ -37,7 +37,7 @@ export default scope.survey_name = data.name; scope.survey_description = data.description; scope.survey_questions = data.spec; - scope.initiallyHadQuestions = true; + scope.isEditSurvey = true; Wait('stop'); } else { AddSurvey({