mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 05:45:02 -02:30
Survey cancel button
Need to clean up lingering question object if cancel is pressed on the survey maker modal
This commit is contained in:
@@ -507,6 +507,7 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
|
|||||||
if(scope.mode === 'add'){
|
if(scope.mode === 'add'){
|
||||||
questions = [];
|
questions = [];
|
||||||
}
|
}
|
||||||
|
else scope.survey_questions = [];
|
||||||
$(me).dialog('close');
|
$(me).dialog('close');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user