diff --git a/horizon/static/horizon/js/horizon.tabs.js b/horizon/static/horizon/js/horizon.tabs.js index 9b6df76400..823620bba3 100644 --- a/horizon/static/horizon/js/horizon.tabs.js +++ b/horizon/static/horizon/js/horizon.tabs.js @@ -24,6 +24,11 @@ horizon.tabs.load_tab = function (evt) { horizon.addInitFunction(function () { var data = horizon.cookies.read('tabs'); + $(".tab-content").find(".js-tab-pane").addClass("tab-pane"); + horizon.modals.addModalInitFunction(function (el) { + $(el).find(".js-tab-pane").addClass("tab-pane"); + }); + $(document).on("show", ".ajax-tabs a[data-loaded='false']", horizon.tabs.load_tab); $(document).on("shown", ".nav-tabs a[data-toggle='tab']", function (evt) { diff --git a/horizon/templates/horizon/common/_workflow.html b/horizon/templates/horizon/common/_workflow.html index 2b89981fda..d8aa4cbade 100644 --- a/horizon/templates/horizon/common/_workflow.html +++ b/horizon/templates/horizon/common/_workflow.html @@ -12,15 +12,18 @@