use pandora.ui.deleteItemsDialog

This commit is contained in:
j 2016-09-20 00:05:07 +02:00
parent 69723d44ff
commit b6c9951b74

View file

@ -61,7 +61,9 @@ pandora.ui.infoView = function(data) {
.bindEvent({ .bindEvent({
click: function(data_) { click: function(data_) {
if (data_.id == 'delete') { if (data_.id == 'delete') {
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open(); pandora.$ui.deleteItemsDialog = pandora.ui.deleteItemsDialog({
items: [data]
}).open();
} }
} }
}) })