summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanchandavishal <manchandavishal143@gmail.com>2020-07-07 09:09:37 +0000
committerLewis Denny <ldenny@redhat.com>2023-02-09 00:37:58 +0000
commit45d155da87cf4647924f45cc01a98a0cd703cd77 (patch)
tree9a06132692c8e54235feb763f8398fc227f3ad5c
parentd3d3d18ee63c43dfa12233f34fe8a374655a1510 (diff)
downloadhorizon-45d155da87cf4647924f45cc01a98a0cd703cd77.tar.gz
Fix tooltips and popovers for flavor details on the instance list.
Due to some changes in bootstrap, the popup table for flavor details content is empty, on the instance list pages. This patch adds 'sanitize:false' which fix the issue. For more info. please refer[1]. [1] https://github.com/twbs/bootstrap/issues/28290 Closes-Bug: #1886025 Change-Id: I60788061d17a5529440ec1e3d6d5c11f5259d2e8 (cherry picked from commit 25816bd82433cae6cb9ec14a38c065cd435692ca) (cherry picked from commit 3e5849fbb94785b24ceb14e653645e1db4d38d40)
-rw-r--r--openstack_dashboard/dashboards/project/instances/templates/instances/_instance_flavor.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/project/instances/templates/instances/_instance_flavor.html b/openstack_dashboard/dashboards/project/instances/templates/instances/_instance_flavor.html
index bee32c184..ac2bc4167 100644
--- a/openstack_dashboard/dashboards/project/instances/templates/instances/_instance_flavor.html
+++ b/openstack_dashboard/dashboards/project/instances/templates/instances/_instance_flavor.html
@@ -12,7 +12,7 @@ $(function () {
var $flavor = $("#flavor_details_{{ id }}");
// NOTE(tsufiev): check this in case this template is used in network topology -> delete instance
if ( $flavor.popover ) {
- $flavor.popover({html:true, trigger: "hover"});
+ $flavor.popover({html:true, sanitize: false, trigger: "hover"});
}
});
</script>