From cf412acff23df660b9c4f283f10bd3cbd9c947b8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 5 Feb 2020 16:05:13 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-widgets.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index bb45429a..8ccbc17e 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -1227,6 +1227,7 @@ function(title, options){ : 'off' } }))) } +// XXX doc!!! // XXX revise... browse.items.batch = function(spec, callback){ @@ -1256,7 +1257,6 @@ function(spec, callback){ // event getting triggered multiple times... // ...change to .close(..) when fixed... .one('close', cb = function(mode){ - // XXX get the field data and pass it to the callback... callback( // get the field-value pairs... spec.reduce(function(res, e){ @@ -1272,7 +1272,6 @@ function(spec, callback){ // but passing it here is cleaner than forcing // the user to get it via closure... spec, - // XXX is this the right spot for this??? mode) }) // reset the callback on update... .one('update', function(){