This is an automated email from the ASF dual-hosted git repository.
jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new f60bbf06ef AMBARI-26194: Ambari host page action button can't work
#3853
f60bbf06ef is described below
commit f60bbf06effd23748aae19b51e85334d0befbe1e
Author: zrain <[email protected]>
AuthorDate: Wed Oct 23 12:04:35 2024 +0800
AMBARI-26194: Ambari host page action button can't work #3853
---
ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs | 2 +-
.../app/templates/main/alerts/manage_alert_notifications_popup.hbs | 2 +-
ambari-web/app/templates/main/host/details/host_component.hbs | 2 +-
ambari-web/app/views/main/host/details/host_component_view.js | 1 +
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git
a/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs
b/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs
index 45e11f7243..67caa23433 100644
--- a/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs
+++ b/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs
@@ -20,7 +20,7 @@
<div class="input-group">
<div class="btn-group config-groups-dropdown">
{{view Em.TextField valueBinding="view.content.value"
disabled="disabled" class="form-control"}}
- <button {{bindAttr class="view.disabled:disabled :btn :btn-default
:dropdown-toggle :btn-icon"}} data-toggle="dropdown">
+ <button {{bindAttr class="view.disabled:disabled :btn :btn-default
:dropdown-toggle :btn-icon"}} data-bs-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu config-groups-dropdown-menu">
diff --git
a/ambari-web/app/templates/main/alerts/manage_alert_notifications_popup.hbs
b/ambari-web/app/templates/main/alerts/manage_alert_notifications_popup.hbs
index 51676aea51..8163bd3427 100644
--- a/ambari-web/app/templates/main/alerts/manage_alert_notifications_popup.hbs
+++ b/ambari-web/app/templates/main/alerts/manage_alert_notifications_popup.hbs
@@ -38,7 +38,7 @@
{{bindAttr disabled="view.isRemoveButtonDisabled"}}
{{action deleteAlertNotification target="controller"}}><i
class="glyphicon glyphicon-minus"></i></button>
<div class="btn-group notification-actions-button dropup">
- <button class="btn btn-default dropdown-toggle"
data-toggle="dropdown">
+ <button class="btn btn-default dropdown-toggle"
data-bs-toggle="dropdown">
<i class="glyphicon glyphicon-cog"></i> <span
class="caret"></span>
</button>
<ul class="dropdown-menu">
diff --git a/ambari-web/app/templates/main/host/details/host_component.hbs
b/ambari-web/app/templates/main/host/details/host_component.hbs
index 25fa9fda2e..cd91c1be95 100644
--- a/ambari-web/app/templates/main/host/details/host_component.hbs
+++ b/ambari-web/app/templates/main/host/details/host_component.hbs
@@ -68,7 +68,7 @@
<td class="align-center">
{{#havePermissions "SERVICE.DECOMMISSION_RECOMMISSION"}}
<div class="dropdown">
- <a {{bindAttr class=":dropdown-toggle view.isDisabled:disabled"}}
data-toggle="dropdown" href="javascript:void(null)">
+ <a {{bindAttr class=":dropdown-toggle view.isDisabled:disabled"}}
data-bs-toggle="dropdown" href="javascript:void(null)">
<i class="glyphicon glyphicon-option-horizontal action-icon"></i>
</a>
{{#unless isDisabled}}
diff --git a/ambari-web/app/views/main/host/details/host_component_view.js
b/ambari-web/app/views/main/host/details/host_component_view.js
index 91f6855f57..e3b10b7b9e 100644
--- a/ambari-web/app/views/main/host/details/host_component_view.js
+++ b/ambari-web/app/views/main/host/details/host_component_view.js
@@ -23,6 +23,7 @@ App.HostComponentView = Em.View.extend({
templateName: require('templates/main/host/details/host_component'),
tagName: 'tr',
+ classNames: ['more-actions'],
/**
* @type {App.HostComponent}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]