From 54a79bc6ab4d4455ce98615ab939b42e3049525f Mon Sep 17 00:00:00 2001 From: Andrew Spinks Date: Wed, 24 Jul 2013 17:47:48 +1000 Subject: [PATCH] Fix other dependency injection problems in bpe angular code after magnification. --- app/assets/javascripts/admin/bulk_product_update.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/admin/bulk_product_update.js b/app/assets/javascripts/admin/bulk_product_update.js index f5641954ee..ff8f2e558d 100644 --- a/app/assets/javascripts/admin/bulk_product_update.js +++ b/app/assets/javascripts/admin/bulk_product_update.js @@ -99,7 +99,7 @@ productsApp.directive('ngToggleColumn',function(){ }; }); -productsApp.directive('ngToggleColumnList', function($compile){ +productsApp.directive('ngToggleColumnList', ["$compile", function($compile){ return { link: function(scope,element,attrs){ var dialogDiv = element.next(); @@ -114,9 +114,9 @@ productsApp.directive('ngToggleColumnList', function($compile){ }); } } -}); +}]); -productsApp.directive('datetimepicker', function ($parse) { +productsApp.directive('datetimepicker', ["$parse", function ($parse) { return { require: 'ngModel', link: function (scope, element, attrs, ngModel) { @@ -132,7 +132,7 @@ productsApp.directive('datetimepicker', function ($parse) { }); } } -}); +}]); productsApp.controller('AdminBulkProductsCtrl', ["$scope", "$timeout", "$http", "dataFetcher", function($scope, $timeout, $http, dataFetcher) { $scope.updateStatusMessage = { text: "",