diff --git a/README.rst b/README.rst index a9cedcb..59ac10c 100644 --- a/README.rst +++ b/README.rst @@ -61,7 +61,7 @@ With Horizon pushd ../vitrage-dashboard - ../horizon/tools/with_venv.sh pip install --upgrade . + ../horizon/tools/with_venv.sh pip install -e. cp -a vitragedashboard/enabled/* ../horizon/openstack_dashboard/enabled/ @@ -69,6 +69,4 @@ With Horizon cd python-vitrageclient - sudo pip install -e. - - ../horizon/tools/with_venv.sh pip install --upgrade . \ No newline at end of file + ../horizon/tools/with_venv.sh pip install -e. \ No newline at end of file diff --git a/vitrage_dashboard/dashboard/static/dashboard/project/services/modal.service.js b/vitrage_dashboard/dashboard/static/dashboard/project/services/modal.service.js index a850257..07907d3 100644 --- a/vitrage_dashboard/dashboard/static/dashboard/project/services/modal.service.js +++ b/vitrage_dashboard/dashboard/static/dashboard/project/services/modal.service.js @@ -5,13 +5,13 @@ .module('horizon.dashboard.project.vitrage') .service('modalSrv', ModalSrv); - ModalSrv.$inject = ['$modal']; + ModalSrv.$inject = ['$uibModal']; - function ModalSrv($modal) { + function ModalSrv($uibModal) { var modalInstance = null; function show(modalOptions) { - modalInstance = $modal.open(modalOptions); + modalInstance = $uibModal.open(modalOptions); } function close() {