New confirmation dialog
This commit is contained in:
parent
56c9139dd2
commit
e84b6f8738
7 changed files with 121 additions and 33 deletions
|
@ -51,7 +51,7 @@ SlidePage {
|
|||
label: 'Unsubscribe',
|
||||
callback: function () {
|
||||
var ctx = { py: py, id: episodesPage.podcast_id, page: episodesPage };
|
||||
pgst.showConfirmation('Unsubscribe', Icons.trash, function () {
|
||||
pgst.showConfirmation('Unsubscribe', 'Unsubscribe', 'Cancel', 'Remove this podcast and all downloaded episodes?', Icons.trash, function () {
|
||||
ctx.py.call('main.unsubscribe', [ctx.id]);
|
||||
ctx.page.closePage();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue