From f422d863555f34bb5823b4a19f49ae40eb8d8da2 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Tue, 16 Dec 2014 15:05:45 -0500 Subject: [PATCH] Survey maker edit multiple quesitons The survey maker would allow the user to edit multiple questions at the same time. I've removed this functionality. --- awx/ui/static/js/helpers/Survey.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/ui/static/js/helpers/Survey.js b/awx/ui/static/js/helpers/Survey.js index 5bcc43ec44..f93b2bb64c 100644 --- a/awx/ui/static/js/helpers/Survey.js +++ b/awx/ui/static/js/helpers/Survey.js @@ -385,8 +385,9 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', form = SurveyQuestionForm; $('#survey-save-button').attr('disabled', 'disabled'); + angular.element('#survey_question_question_cancel_btn').trigger('click'); $('#add_question_btn').hide(); - $('#new_question .aw-form-well').remove(); + // $('#new_question .aw-form-well').remove(); element = $('.question_final:eq('+index+')'); element.css('opacity', 1.0); element.empty();