mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Delete added to indexers
This commit is contained in:
parent
1e61f501dc
commit
0ffb72bca1
7 changed files with 62 additions and 7 deletions
|
@ -1,9 +1,9 @@
|
|||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3>Remove: {{name}}</h3>
|
||||
<h3>Delete Notification</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Are you sure you want to remove '{{name}}'?</p>
|
||||
<p>Are you sure you want to delete '{{name}}'?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn" data-dismiss="modal">cancel</button>
|
||||
|
|
|
@ -4,10 +4,10 @@ define(['app', 'marionette'], function (App, Marionette) {
|
|||
template: 'Settings/Notifications/DeleteTemplate',
|
||||
|
||||
events: {
|
||||
'click .x-confirm-delete': 'removeNotification'
|
||||
'click .x-confirm-delete': '_removeNotification'
|
||||
},
|
||||
|
||||
removeNotification: function () {
|
||||
_removeNotification: function () {
|
||||
this.model.destroy({
|
||||
wait : true,
|
||||
success: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue