mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 19:07:39 -02:30
Added use of ng-cloak to all partials and added related CSS. Added use of 'working...' widget to all Edit controllers- it was missing in a few places. Attempted upgrade to angular-1.2.9. Ran into issues and left at 1.1.4 for now. Change angular.js to angular.min.js.
This commit is contained in:
@@ -188,6 +188,7 @@ function TeamsEdit ($scope, $rootScope, $compile, $location, $log, $routeParams,
|
||||
.success( function(data, status, headers, config) {
|
||||
scope['organization_name'] = data.name;
|
||||
master['organization_name'] = data.name;
|
||||
Wait('stop');
|
||||
})
|
||||
.error( function(data, status, headers, config) {
|
||||
ProcessErrors(scope, data, status, null,
|
||||
@@ -199,6 +200,7 @@ function TeamsEdit ($scope, $rootScope, $compile, $location, $log, $routeParams,
|
||||
});
|
||||
|
||||
// Retrieve detail record and prepopulate the form
|
||||
Wait('stop');
|
||||
Rest.setUrl(defaultUrl + ':id/');
|
||||
Rest.get({ params: {id: id} })
|
||||
.success( function(data, status, headers, config) {
|
||||
|
||||
Reference in New Issue
Block a user