From d4bbbe2315ffa84a7d396c02a59420b4f5de06b9 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 17 May 2019 19:56:57 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse2.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index 72d67160..fe84986b 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -1847,7 +1847,11 @@ var BaseBrowserPrototype = { return this }, // XXX .focus(..) and .trigger('focus', ..) should be the same... - // ...should this be done via handlers??? + // ...now .focus(..) does all the domain stuff then calls + // .trigger('focus', ..) while .trigger('focus') handles only + // the event stuff... (the usual chicken/egg problem) + // ...should what is currently done in .focus(..) be done via + // handlers??? trigger: function(evt, ...args){ var that = this var stopPropagation = false