mobile ui: implement dummy message box and scrip loader

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-28 18:37:37 +02:00
parent 33d0357208
commit 509d7a2003

View File

@ -6,3 +6,10 @@ Ext.Ajax.setDisableCaching(false);
// do not send '_dc' parameter
Ext.Ajax.disableCaching = false;
Ext.MessageBox = Ext.Msg = {
alert: (title, message) => console.warn(title, message),
show: ({title, message}) => console.warn(title, message),
};
Ext.Loader.injectScriptElement = (url) => console.warn(`surpressed loading ${url}`)