Toolkit: move defaultDownloadServerUrl override to panel/RRDChart

not all users of Toolkit.js have the charts lib loaded, which means
the class does not exist then.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-05-28 14:13:39 +02:00 committed by Thomas Lamprecht
parent d453438aa0
commit 53758e164a
2 changed files with 3 additions and 3 deletions

View File

@ -664,9 +664,6 @@ Ext.define('Proxmox.selection.CheckboxModel', {
},
});
// override the download server url globally, for privacy reasons
Ext.draw.Container.prototype.defaultDownloadServerUrl = "-";
// stop nulling of properties
Ext.define('Proxmox.Component', {
override: 'Ext.Component',

View File

@ -1,3 +1,6 @@
// override the download server url globally, for privacy reasons
Ext.draw.Container.prototype.defaultDownloadServerUrl = "-";
Ext.define('Proxmox.chart.axis.segmenter.NumericBase2', {
extend: 'Ext.chart.axis.segmenter.Numeric',
alias: 'segmenter.numericBase2',