This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch activemq-5.19.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-5.19.x by this push:
new cb079c8a50 AMQ-9743: Fixes Web Console column sorting. (#1479)
cb079c8a50 is described below
commit cb079c8a5005855f1cdf1fac6704e5377a19f7d0
Author: Sérgio Lemos <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact