From 509d7a2003bdff0e37d62aae12ef44624b465055 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 28 May 2023 18:37:37 +0200 Subject: [PATCH] mobile ui: implement dummy message box and scrip loader Signed-off-by: Thomas Lamprecht --- www/mobile/Toolkit.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/mobile/Toolkit.js b/www/mobile/Toolkit.js index fb2690101..49647ced4 100644 --- a/www/mobile/Toolkit.js +++ b/www/mobile/Toolkit.js @@ -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}`)