diff --git a/core/src/main/resources/hudson/views/BuildButtonColumn/icon.js b/core/src/main/resources/hudson/views/BuildButtonColumn/icon.js index 4cd6c767255e..8ad6c1f80a05 100644 --- a/core/src/main/resources/hudson/views/BuildButtonColumn/icon.js +++ b/core/src/main/resources/hudson/views/BuildButtonColumn/icon.js @@ -15,7 +15,7 @@ Behaviour.specify( headers: crumb.wrap({}), }).then((rsp) => { if (rsp.ok) { - hoverNotification(message, this, -100); + notificationBar.show(message,notificationBar.SUCCESS); } else { notificationBar.show(failure, notificationBar.ERROR) } diff --git a/core/src/main/resources/lib/hudson/project/configurable/configurable.js b/core/src/main/resources/lib/hudson/project/configurable/configurable.js index 86d0afad05f8..da46936f0101 100644 --- a/core/src/main/resources/lib/hudson/project/configurable/configurable.js +++ b/core/src/main/resources/lib/hudson/project/configurable/configurable.js @@ -11,7 +11,7 @@ headers: crumb.wrap({}), }).then((rsp) => { if (rsp.ok) { - hoverNotification(success, ev.target.parentNode); + notificationBar.show(success,notificationBar.SUCCESS); } else { notificationBar.show(failure, notificationBar.ERROR) }