mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
WIP: Bulk Product Update Rewrite: initial acceptance testing
This commit is contained in:
10
app/assets/javascripts/admin/bulk_product_update.js
Normal file
10
app/assets/javascripts/admin/bulk_product_update.js
Normal file
@@ -0,0 +1,10 @@
|
||||
function AdminProductsBulkCtrl($scope, $http) {
|
||||
$scope.refreshData = function(){
|
||||
$http({ method: 'GET', url:'/admin/products/bulk_index.json' }).success(function(data) {
|
||||
$scope.products = data;
|
||||
});
|
||||
}
|
||||
$scope.refreshData();
|
||||
}
|
||||
|
||||
var productsApp = angular.module('bulk_product_update', [])
|
||||
Reference in New Issue
Block a user