bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-08-29 21:19:13 +03:00
parent 267d5f705b
commit 9b4dc520fe

View File

@ -502,7 +502,6 @@ var CollectionActions = actions.Actions({
this.saveCollection(collection) this.saveCollection(collection)
} }
}], }],
// XXX BUG: .uncollect(..) from crop messes up global tags...
uncollect: ['Collections|Image/$Uncollect image', uncollect: ['Collections|Image/$Uncollect image',
{browseMode: function(){ return !this.collection && 'disabled' }}, {browseMode: function(){ return !this.collection && 'disabled' }},
function(gids, collection){ function(gids, collection){
@ -928,7 +927,7 @@ var UICollectionActions = actions.Actions({
{ {
new_item: false, new_item: false,
to_remove: to_remove, to_remove: to_remove,
itemopen: function(title){ itemopen: function(_, title){
var i = to_remove.indexOf(title) var i = to_remove.indexOf(title)
i >= 0 ? i >= 0 ?