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