Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-01-18 05:38:22 +03:00
parent d637b00c16
commit a6090eef38

View File

@ -1228,7 +1228,9 @@ function(title, options){
// XXX should this also take batch options???
// XXX need to make this handle updates correctly -- we are binding to a dialog event, need to fo this only once...
// XXX should we patch the close callback not to get called twice???
// XXX BUG: if user passes a new spec each time this will not work...
// ...might be a good idea to bind to the element...
browse.items.batch =
function(spec, callback){
var that = this
@ -1273,7 +1275,8 @@ function(spec, callback){
spec,
// XXX is this the right spot for this???
mode) })
// XXX is this a good way to do this???
// XXX BUG: if user passes a new spec each time this will not work...
// ...might be a good idea to bind to the element...
spec.__batch_setup = true
return this }