fix $modal after bootstrap upgrade
Change-Id: Iac9a0b311dfdf28521f97e5e975c519c288ffb20
This commit is contained in:
parent
b932a645a0
commit
484c1e6560
@ -61,7 +61,7 @@ With Horizon
|
|||||||
|
|
||||||
pushd ../vitrage-dashboard
|
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/
|
cp -a vitragedashboard/enabled/* ../horizon/openstack_dashboard/enabled/
|
||||||
|
|
||||||
@ -69,6 +69,4 @@ With Horizon
|
|||||||
|
|
||||||
cd python-vitrageclient
|
cd python-vitrageclient
|
||||||
|
|
||||||
sudo pip install -e.
|
../horizon/tools/with_venv.sh pip install -e.
|
||||||
|
|
||||||
../horizon/tools/with_venv.sh pip install --upgrade .
|
|
@ -5,13 +5,13 @@
|
|||||||
.module('horizon.dashboard.project.vitrage')
|
.module('horizon.dashboard.project.vitrage')
|
||||||
.service('modalSrv', ModalSrv);
|
.service('modalSrv', ModalSrv);
|
||||||
|
|
||||||
ModalSrv.$inject = ['$modal'];
|
ModalSrv.$inject = ['$uibModal'];
|
||||||
|
|
||||||
function ModalSrv($modal) {
|
function ModalSrv($uibModal) {
|
||||||
var modalInstance = null;
|
var modalInstance = null;
|
||||||
|
|
||||||
function show(modalOptions) {
|
function show(modalOptions) {
|
||||||
modalInstance = $modal.open(modalOptions);
|
modalInstance = $uibModal.open(modalOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
function close() {
|
function close() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user