You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2021/12/15 00:25:14 UTC

[activemq-artemis] 01/06: ARTEMIS-3568 fixed delete-header of page send-message-to-queue

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 5e17db7d8f5f51be28801f29372a6b2e531c87c2
Author: Erwin Dondorp <er...@cgi.com>
AuthorDate: Fri Nov 12 00:36:28 2021 +0100

    ARTEMIS-3568 fixed delete-header of page send-message-to-queue
---
 .../artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js
index a412dfb..71392f8 100644
--- a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js
+++ b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js
@@ -70,7 +70,7 @@ var Artemis;
                             <td><input type="text" class="form-control" ng-model="header.name" placeholder="Name" autocomplete="off" id="name"></td>
                             <td><input type="text" class="form-control" ng-model="header.value" placeholder="Value" autocomplete="off" id="value"></td>
                             <td><div class="input-group-prepend">
-                                <button type="button" class="btn btn-default" title="Delete" ng-click="$ctrl.removeHeader(header)">
+                                <button type="button" class="btn btn-default" title="Delete" ng-click="$ctrl.message.removeHeader(header)">
                                     <span class="pficon pficon-delete"></span>
                                 </button>
                             </div></td>