mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-01 20:31:49 -05:00
Fixed form validation issues on Projects detail for manual projects. When editing an existing project, local_path value was not being set, even though it diplayed properly. Changed local_path from array of strings to array of objects. Now local_path values are sorted and the correct object in the list is selected.
This commit is contained in:
committed by
Chris Church
parent
a5c44a391c
commit
8a3a0d219c
@@ -59,6 +59,7 @@ angular.module('ProjectPathHelper', ['RestServices', 'Utilities'])
|
||||
}
|
||||
}
|
||||
scope.base_dir = data.project_base_dir;
|
||||
master.local_path = scope.local_path;
|
||||
master.base_dir = scope.base_dir; // Keep in master object so that it doesn't get
|
||||
// wiped out on form reset.
|
||||
if (opts.length == 0) {
|
||||
|
||||
Reference in New Issue
Block a user