diff --git a/package.json b/package.json index 3b9afa3de..3d5f2ec39 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "angular-translate": "^2.19.0", "angular-ui-bootstrap": "^2.5.6", "angular-ui-router": "^1.0.30", - "angular-upload": "^1.0.13", "bootstrap-sass": "^3.4.1", "change-case-object": "^2.0.0", "cru-payments": "^1.2.2", diff --git a/src/app/designationEditor/carouselModal/carouselModal.tpl.html b/src/app/designationEditor/carouselModal/carouselModal.tpl.html index 60ee7030d..9bf7847bf 100644 --- a/src/app/designationEditor/carouselModal/carouselModal.tpl.html +++ b/src/app/designationEditor/carouselModal/carouselModal.tpl.html @@ -72,13 +72,15 @@
Click + to add photos to the carousel.
- -
+
+
diff --git a/src/app/designationEditor/photoModal/photo.modal.js b/src/app/designationEditor/photoModal/photo.modal.js index 91e1f1cd3..f3f1b5d22 100644 --- a/src/app/designationEditor/photoModal/photo.modal.js +++ b/src/app/designationEditor/photoModal/photo.modal.js @@ -1,6 +1,6 @@ import angular from 'angular' -import 'angular-upload' +import imageUploadDirective from 'common/directives/imageUpload.directive' import designationEditorService from 'common/services/api/designationEditor.service' const controllerName = 'photoCtrl' @@ -49,7 +49,7 @@ class ModalInstanceCtrl { export default angular .module(controllerName, [ - 'lr.upload', + imageUploadDirective.name, designationEditorService.name ]) .controller(controllerName, ModalInstanceCtrl) diff --git a/src/app/designationEditor/photoModal/photoModal.tpl.html b/src/app/designationEditor/photoModal/photoModal.tpl.html index 2884685cc..dd1e58c5b 100644 --- a/src/app/designationEditor/photoModal/photoModal.tpl.html +++ b/src/app/designationEditor/photoModal/photoModal.tpl.html @@ -10,16 +10,17 @@