0xdb info view: fix 'delete movie' functionality
This commit is contained in:
parent
6d25cd8da2
commit
248ef1a63a
1 changed files with 3 additions and 3 deletions
|
@ -60,10 +60,10 @@ pandora.ui.infoView = function(data) {
|
|||
background: 'rgba(0, 0, 0, 0)'
|
||||
})
|
||||
.bindEvent({
|
||||
click: function(data) {
|
||||
if (data.id == 'update') {
|
||||
click: function(data_) {
|
||||
if (data_.id == 'update') {
|
||||
updateMetadata();
|
||||
} else if (data.id == 'delete') {
|
||||
} else if (data_.id == 'delete') {
|
||||
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue