diff --git a/ui (gen4)/lib/widget/browse2.html b/ui (gen4)/lib/widget/browse2.html
index 7efdaa85..0c296380 100755
--- a/ui (gen4)/lib/widget/browse2.html
+++ b/ui (gen4)/lib/widget/browse2.html
@@ -184,10 +184,8 @@ requirejs([
// XXX this does not appear to survive attaching an item
// to the document...
open: function(e){
- // XXX this does not work, likely because we are
- // losing this event object at some point...
e.preventDefault()
- console.log('!!!!!!!!!!!!') },
+ console.log('test: open: default prevented...') },
//cls: ['heading'],
})
}, {
diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js
index c891283b..37e5bb39 100755
--- a/ui (gen4)/lib/widget/browse2.js
+++ b/ui (gen4)/lib/widget/browse2.js
@@ -409,7 +409,7 @@ function(event, handler, action, default_item, filter, options){
// item chain to create it's own new event object...
// this will isolate each chain from the others in
// state and handling propagation...
- callItemEventHandlers(item, event, null, ...args) }) },
+ callItemEventHandlers(item, event, evt, ...args) }) },
...(action ? [action] : []),
false)
return Object.assign(
@@ -2630,8 +2630,6 @@ var BaseBrowserPrototype = {
open: makeItemEventMethod('open',
function(evt, item){},
// XXX not yet sure if this is correct...
- // XXX BUG: evt.preventDefault() does not affect this for some reason...
- // ...i.e. evt here and in the user cycle are not the same...
function(evt, item){
item.length > 0
&& this.toggleCollapse(item) },