summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanchandavishal <manchandavishal143@gmail.com>2020-07-07 09:09:37 +0000
committerVishal Manchanda <manchandavishal143@gmail.com>2021-06-24 13:21:10 +0000
commit3e5849fbb94785b24ceb14e653645e1db4d38d40 (patch)
tree3bd9d59c2c2519bd4a8e6d5a831373457b74bb82
parent7555c16cf6247c9ecf8f18dd565828f812338357 (diff)
downloadhorizon-3e5849fbb94785b24ceb14e653645e1db4d38d40.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)
-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>