mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-17 10:47:23 +00:00
toolkit: fix noisy ext warning of feature we do not want/use
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
834cc8476d
commit
c4ac6d1c14
@ -195,6 +195,16 @@ Ext.define('PVE.form.field.Number', {
|
|||||||
submitLocaleSeparator: false,
|
submitLocaleSeparator: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// avois spamming the console and if we ever use this avoid a CORS block error too
|
||||||
|
Ext.define('PVE.draw.Container', {
|
||||||
|
override: 'Ext.draw.Container',
|
||||||
|
defaultDownloadServerUrl: document.location.origin, // avoid that pointing to http://svg.sencha.io
|
||||||
|
applyDownloadServerUrl: function(url) { // avoid noisy warning, we don't really use that anyway
|
||||||
|
url = url || this.defaultDownloadServerUrl;
|
||||||
|
return url;
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
// ExtJs 5-6 has an issue with caching
|
// ExtJs 5-6 has an issue with caching
|
||||||
// see https://www.sencha.com/forum/showthread.php?308989
|
// see https://www.sencha.com/forum/showthread.php?308989
|
||||||
Ext.define('Proxmox.UnderlayPool', {
|
Ext.define('Proxmox.UnderlayPool', {
|
||||||
|
Loading…
Reference in New Issue
Block a user