fix $modal after bootstrap upgrade

Change-Id: Iac9a0b311dfdf28521f97e5e975c519c288ffb20
This commit is contained in:
Alon Heller 2017-01-29 14:50:10 +02:00
parent b932a645a0
commit 484c1e6560
2 changed files with 5 additions and 7 deletions

View File

@ -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 .
../horizon/tools/with_venv.sh pip install -e.

View File

@ -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() {