From cc6a600067c4d71e57101336a251bc279e785875 Mon Sep 17 00:00:00 2001 From: Tim Werdin Date: Thu, 1 Sep 2022 15:21:46 +0200 Subject: [PATCH] Fixes removing the namespace from an event name --- ui/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/widget.js b/ui/widget.js index 6512cc58755..c87d94a227d 100644 --- a/ui/widget.js +++ b/ui/widget.js @@ -621,7 +621,7 @@ $.Widget.prototype = { handler.guid || handlerProxy.guid || $.guid++; } - var match = event.match( /^([\w:-]*)\s*(.*)$/ ); + var match = event.match( /^([\w:.-]*)\s+(.*)$/ ); var eventName = match[ 1 ] + instance.eventNamespace; var selector = match[ 2 ];