mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-21 16:05:40 +00:00
Utils: fix jslint errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9367da29d2
commit
c5aaa502d3
5
Utils.js
5
Utils.js
@ -497,15 +497,16 @@ Ext.define('Proxmox.Utils', { utilities: {
|
||||
|
||||
format_task_description: function(type, id) {
|
||||
var farray = Proxmox.Utils.task_desc_table[type];
|
||||
var text;
|
||||
if (!farray) {
|
||||
var text = type;
|
||||
text = type;
|
||||
if (id) {
|
||||
type += ' ' + id;
|
||||
}
|
||||
return text;
|
||||
}
|
||||
var prefix = farray[0];
|
||||
var text = farray[1];
|
||||
text = farray[1];
|
||||
if (prefix) {
|
||||
return prefix + ' ' + id + ' - ' + text;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user