mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
74a38415cf
Indexes are created with the same uniqueness when copying a table New: Non-English episode support New: Renamed Quality Profiles to Profiles and made them more powerful New: Configurable wait time before grabbing a release to wait for a better quality
25 lines
593 B
JavaScript
25 lines
593 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'vent',
|
|
'marionette'
|
|
], function (vent, Marionette) {
|
|
|
|
return Marionette.ItemView.extend({
|
|
template: 'Settings/Profile/DeleteProfileViewTemplate',
|
|
|
|
events: {
|
|
'click .x-confirm-delete': '_removeProfile'
|
|
},
|
|
|
|
_removeProfile: function () {
|
|
|
|
this.model.destroy({
|
|
wait: true
|
|
}).done(function () {
|
|
vent.trigger(vent.Commands.CloseModalCommand);
|
|
});
|
|
}
|
|
});
|
|
});
|