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)'
|
background: 'rgba(0, 0, 0, 0)'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
click: function(data) {
|
click: function(data_) {
|
||||||
if (data.id == 'update') {
|
if (data_.id == 'update') {
|
||||||
updateMetadata();
|
updateMetadata();
|
||||||
} else if (data.id == 'delete') {
|
} else if (data_.id == 'delete') {
|
||||||
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open();
|
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue