title or id is required to move files
This commit is contained in:
parent
c2df43220b
commit
a3336d92b3
1 changed files with 5 additions and 1 deletions
|
@ -457,6 +457,8 @@ pandora.ui.mediaView = function(options) {
|
|||
});
|
||||
}
|
||||
}
|
||||
}).on({
|
||||
keyup: updateForm()
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -679,7 +681,9 @@ pandora.ui.mediaView = function(options) {
|
|||
});
|
||||
}
|
||||
self.$moveButton.options({
|
||||
disabled: self.selected.length == 0
|
||||
disabled: self.selected.length == 0 || (
|
||||
self.$idInput.value().length + self.$titleInput.value().length
|
||||
) == 0
|
||||
});
|
||||
self.$menu[
|
||||
self.selected.length == 0 ? 'disableItem' : 'enableItem'
|
||||
|
|
Loading…
Reference in a new issue