Sha256: d630ec1f4d0f1814078058944ad804ec8becacf15b979fd0c26d49891ec20404
Contents?: true
Size: 793 Bytes
Versions: 29
Compression:
Stored size: 793 Bytes
Contents
/** * @ngdoc object * @name Bastion.products.controller:ProductsBulkActionSyncController * * @requires $scope * @requires translate * @requires ProductBulkAction * * @description * A controller for providing bulk sync functionality for products.. */ angular.module('Bastion.products').controller('ProductsBulkActionSyncController', ['$scope', '$state', 'translate', 'ProductBulkAction', function ($scope, $state, translate, ProductBulkAction) { $scope.repositoryCount = 0; $scope.syncProducts = function () { $scope.actionParams.ids = $scope.getSelectedProductIds(); ProductBulkAction.syncProducts($scope.actionParams, function (task) { $state.go('task', {taskId: task.id}); }); }; }] );
Version data entries
29 entries across 29 versions & 1 rubygems