mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
add mock for show error
This commit is contained in:
parent
6d0acea2ca
commit
fada633f1e
@ -406,9 +406,9 @@ require([
|
||||
"dialog.fileremove": {show: function() {}},
|
||||
"dialog.fileoverwrite": {show: function() {}},
|
||||
"dialog.error": {
|
||||
showError: function(msg) {
|
||||
console.warn(msg);
|
||||
}
|
||||
showError: function(msg) { console.warn(msg); },
|
||||
show: function(msg) { console.warn(msg); },
|
||||
hide: function(msg) { },
|
||||
},
|
||||
"installer": { createSession : function(){}, reinstall: function(){}, isInstalled: function(){ return true; } },
|
||||
"run.gui": { getElement : function(){} },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user