correctly handle download/edit/delete for selections with mixed mediastate
This commit is contained in:
parent
6838a2f0f2
commit
5882e97608
4 changed files with 51 additions and 29 deletions
|
|
@ -7,7 +7,9 @@ oml.ui.editDialog = function() {
|
|||
'author', 'place', 'publisher', 'language'
|
||||
],
|
||||
hasChanged = false,
|
||||
ids = ui.listSelection,
|
||||
ids = ui.listSelection.filter(function(id) {
|
||||
return oml.$ui.list.value(id, 'mediastate') == 'available';
|
||||
}),
|
||||
keys = [
|
||||
'title', 'author',
|
||||
'publisher', 'place', 'date',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue