mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
added global script/ajax error handling.
This commit is contained in:
parent
4cca5d21b1
commit
b393c11b27
10 changed files with 109 additions and 17 deletions
16
NzbDrone.Web/_backboneApp/Shared/ErrorModel.js
Normal file
16
NzbDrone.Web/_backboneApp/Shared/ErrorModel.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
/// <reference path="../app.js" />
|
||||
|
||||
NzbDrone.Shared.ErrorCollection = Backbone.Collection.extend({
|
||||
|
||||
model: NzbDrone.Shared.ErrorModel,
|
||||
|
||||
});
|
||||
|
||||
|
||||
NzbDrone.Shared.ErrorModel = Backbone.Model.extend({
|
||||
|
||||
defaults: {
|
||||
"title": "NO_TITLE",
|
||||
"message": "NO_MESSAGE",
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue