Sha256: c6fc2829a0782bdcb2b848bb9aede309cc3bb101b253509681c7e5f30beaa44d

Contents?: true

Size: 532 Bytes

Versions: 29

Compression:

Stored size: 532 Bytes

Contents

/**
 * @ngdoc object
 * @name  Bastion.products.controller:NewProductController
 *
 * @requires $scope
 * @requires Product
 *
 * @description
 *   Controls the creation of an empty Product object for use by sub-controllers.
 */
angular.module('Bastion.products').controller('NewProductController',
    ['$scope', 'Product', 'CurrentOrganization',
    function ($scope, Product, CurrentOrganization) {
        $scope.product = new Product({'organization_id': CurrentOrganization});
        $scope.panel = {loading: true};
    }]
);

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
katello-3.2.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.2.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.2.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.2.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.2.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.2.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.1.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.1.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.1.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-2.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.1.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-2.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.0.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-2.4.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.0.0.rc7 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-3.0.0.rc5 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js
katello-2.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js