mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
UI dependency graph cleanup
This commit is contained in:
parent
86ea33b638
commit
4948d0608b
87 changed files with 1119 additions and 735 deletions
|
@ -1,9 +1,9 @@
|
|||
'use strict';
|
||||
define(
|
||||
[
|
||||
'app',
|
||||
'vent',
|
||||
'marionette'
|
||||
], function (App, Marionette) {
|
||||
], function (vent, Marionette) {
|
||||
|
||||
return Marionette.ItemView.extend({
|
||||
template: 'Series/Delete/DeleteSeriesTemplate',
|
||||
|
@ -24,8 +24,8 @@ define(
|
|||
data: { 'deleteFiles': deleteFiles },
|
||||
wait: true
|
||||
}).done(function () {
|
||||
App.vent.trigger(App.Events.SeriesDeleted, { series: self.model });
|
||||
App.vent.trigger(App.Commands.CloseModalCommand);
|
||||
vent.trigger(vent.Events.SeriesDeleted, { series: self.model });
|
||||
vent.trigger(vent.Commands.CloseModalCommand);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue