apply z-index fix to all modals

This commit is contained in:
Oliver Gorwits
2013-09-10 22:15:29 +01:00
parent 3334095c19
commit 1aa97d08ba
7 changed files with 13 additions and 14 deletions

View File

@@ -235,4 +235,13 @@ $(document).ready(function() {
to_id.replace(/^#/,"").replace(/_pane$/,"")
);
});
// bootstrap modal mucks about with mouse actions on higher elements
// so need to bury and raise it when needed
$('.tab-pane').on('show', '.nd_modal', function () {
$(this).toggleClass('nd_deep-horizon');
});
$('.tab-pane').on('hidden', '.nd_modal', function () {
$(this).toggleClass('nd_deep-horizon');
});
});