mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Commands return immediately and signalr is used to control the UI
This commit is contained in:
parent
772ab3c921
commit
c96ba5efd3
55 changed files with 439 additions and 238 deletions
|
@ -13,6 +13,10 @@ define(function () {
|
|||
options.hideAfter = 5;
|
||||
break;
|
||||
|
||||
case 'success':
|
||||
options.hideAfter = 5;
|
||||
break;
|
||||
|
||||
default :
|
||||
options.hideAfter = 0;
|
||||
}
|
||||
|
@ -22,11 +26,11 @@ define(function () {
|
|||
message : options.message,
|
||||
type : options.type,
|
||||
showCloseButton: true,
|
||||
hideAfter : options.hideAfter
|
||||
hideAfter : options.hideAfter,
|
||||
id : options.id
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
monitor: function (options) {
|
||||
|
||||
if (!options.promise) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue