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:15 UTC

[activemq-artemis] 02/06: ARTEMIS-3568 fixed format-message 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 6ca05e5da1f3a15784b19194e9fae5847f289524
Author: Erwin Dondorp <er...@cgi.com>
AuthorDate: Fri Nov 12 00:42:01 2021 +0100

    ARTEMIS-3568 fixed format-message 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 71392f8..5c27882 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
@@ -94,7 +94,7 @@ var Artemis;
                         <option value="javascript">JSON</option>
                         <option value="xml">XML</option>
                     </select>
-                    <button class="btn btn-default" ng-click="$ctrl.formatMessage()"
+                    <button class="btn btn-default" ng-click="$ctrl.message.formatMessage()"
                        title="Automatically pretty prints the message so its easier to read">Format
                     </button>
                 </div>