mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-24 01:44:44 +00:00
Toolkit: set download url for draw containers to '-'
so that there can be no privacy leak, since the default points to senchas server Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
fba354621f
commit
518dd0b6d9
@ -659,6 +659,9 @@ Ext.define('Proxmox.selection.CheckboxModel', {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// override the download server url globally, for privacy reasons
|
||||||
|
Ext.draw.Container.prototype.defaultDownloadServerUrl = "-";
|
||||||
|
|
||||||
// force alert boxes to be rendered with an Error Icon
|
// force alert boxes to be rendered with an Error Icon
|
||||||
// since Ext.Msg is an object and not a prototype, we need to override it
|
// since Ext.Msg is an object and not a prototype, we need to override it
|
||||||
// after the framework has been initiated
|
// after the framework has been initiated
|
||||||
|
@ -20,6 +20,8 @@ Ext.define('Proxmox.panel.GaugeWidget', {
|
|||||||
xtype: 'polar',
|
xtype: 'polar',
|
||||||
height: 120,
|
height: 120,
|
||||||
border: false,
|
border: false,
|
||||||
|
// set to '-' to suppress warning in debug mode
|
||||||
|
downloadServerUrl: '-',
|
||||||
itemId: 'chart',
|
itemId: 'chart',
|
||||||
series: [{
|
series: [{
|
||||||
type: 'gauge',
|
type: 'gauge',
|
||||||
|
@ -61,6 +61,9 @@ Ext.define('Proxmox.widget.RRDChart', {
|
|||||||
|
|
||||||
powerOfTwo: false,
|
powerOfTwo: false,
|
||||||
|
|
||||||
|
// set to empty string to suppress warning in debug mode
|
||||||
|
downloadServerUrl: '-',
|
||||||
|
|
||||||
controller: {
|
controller: {
|
||||||
xclass: 'Ext.app.ViewController',
|
xclass: 'Ext.app.ViewController',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user