You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2025/09/12 12:32:38 UTC
(activemq) branch activemq-6.1.x updated: AMQ-9743: Fixes Web Console column sorting. (#1479)
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch activemq-6.1.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-6.1.x by this push:
new b70a2f1ef4 AMQ-9743: Fixes Web Console column sorting. (#1479)
b70a2f1ef4 is described below
commit b70a2f1ef45b7c0e086073f8d9e8c34e26f90757
Author: Sérgio Lemos <le...@amazon.com>
AuthorDate: Fri Sep 12 05:32:00 2025 -0700
AMQ-9743: Fixes Web Console column sorting. (#1479)
Fixes an issue registering window.onload JS events, also fixes a call to
prettyPrint() with the wrong callback.
(cherry picked from commit 4352d55d5eaf5d5568d92ab4c67772bebc33bb55)
---
activemq-web-console/src/main/webapp/js/head.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/activemq-web-console/src/main/webapp/js/head.js b/activemq-web-console/src/main/webapp/js/head.js
index d78cd393e5..bc59521db1 100644
--- a/activemq-web-console/src/main/webapp/js/head.js
+++ b/activemq-web-console/src/main/webapp/js/head.js
@@ -14,7 +14,4 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
-window.onload = function () {
- addEvent(window, 'load', prettyPrint)
-}
+addEvent(window, 'load', (_event) => prettyPrint());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact