]>
git.proxmox.com Git - pve-manager-legacy.git/commitdiff
projects
/
pve-manager-legacy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f9750
)
mobile ui: implement dummy message box and scrip loader
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Sun, 28 May 2023 16:37:37 +0000
(18:37 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Sun, 28 May 2023 16:39:04 +0000
(18:39 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/mobile/Toolkit.js
patch
|
blob
|
blame
|
history
diff --git
a/www/mobile/Toolkit.js
b/www/mobile/Toolkit.js
index fb2690101f0c7f7fd6096b1457b9c292d6ed8deb..49647ced46b3ce9b9506394c09812e3e35db4621 100644
(file)
--- 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}`)