
JSCS cleanup for files in: - horizon/static/auth - horizon/static/framework/util/tech-debt/ - openstack_dashboard/static/dashboard/tech-debt/ NOTE: These files were previously in horizon/static/dashboard-app, but were moved between patches, causing the seemingly random selection of cleanups Change-Id: I63c3c641bf42152d8ff99702078d06df22812555 Partially-Implements: blueprint jscs-cleanup
13 lines
360 B
JavaScript
13 lines
360 B
JavaScript
(function () {
|
|
'use strict';
|
|
angular
|
|
.module('hz.dashboard.tech-debt')
|
|
.controller('hzNamespaceResourceTypeFormController', function($scope, $window) {
|
|
$scope.resource_types = $window.resource_types;
|
|
|
|
$scope.saveResourceTypes = function () {
|
|
$scope.resource_types = JSON.stringify($scope.resource_types);
|
|
};
|
|
});
|
|
}());
|