mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
added Messenger.js, to replace window.alert() and future notifications.
This commit is contained in:
parent
19732ba31a
commit
5c61863856
6 changed files with 1773 additions and 2 deletions
|
@ -14,6 +14,11 @@ define(['app', 'Shared/NotificationModel'], function () {
|
|||
this.push(model);
|
||||
*/
|
||||
|
||||
window.alert = function (message) {
|
||||
window.Messenger().post(message);
|
||||
};
|
||||
|
||||
|
||||
var self = this;
|
||||
|
||||
window.onerror = function (msg, url, line) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue