mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-29 23:03:21 +00:00
Utils: fix some lint errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
641df09e9e
commit
e94c076748
4
Utils.js
4
Utils.js
@ -218,7 +218,7 @@ Ext.define('Proxmox.Utils', { utilities: {
|
|||||||
if (clearMaskBeforeLoad) {
|
if (clearMaskBeforeLoad) {
|
||||||
me.mon(store, 'beforeload', function(s, operation, eOpts) {
|
me.mon(store, 'beforeload', function(s, operation, eOpts) {
|
||||||
Proxmox.Utils.setErrorMask(me, false);
|
Proxmox.Utils.setErrorMask(me, false);
|
||||||
})
|
});
|
||||||
} else {
|
} else {
|
||||||
me.mon(store, 'beforeload', function(s, operation, eOpts) {
|
me.mon(store, 'beforeload', function(s, operation, eOpts) {
|
||||||
if (!me.loadCount) {
|
if (!me.loadCount) {
|
||||||
@ -476,7 +476,7 @@ Ext.define('Proxmox.Utils', { utilities: {
|
|||||||
render_timestamp: function(value, metaData, record, rowIndex, colIndex, store) {
|
render_timestamp: function(value, metaData, record, rowIndex, colIndex, store) {
|
||||||
var servertime = new Date(value * 1000);
|
var servertime = new Date(value * 1000);
|
||||||
return Ext.Date.format(servertime, 'Y-m-d H:i:s');
|
return Ext.Date.format(servertime, 'Y-m-d H:i:s');
|
||||||
},
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user