mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 09:22:03 +00:00
Fix jslint warning: 'sortedList' is already defined
sortedList was defined twice in the function remove the declaration at the beginning of function as declaring a var just before using it is more similar to the rest of code
This commit is contained in:
parent
e2d725633e
commit
88ecfbdbda
@ -18,7 +18,6 @@ Ext.define('PVE.form.ControllerSelector', {
|
|||||||
vmconfig: {}, // used to check for existing devices
|
vmconfig: {}, // used to check for existing devices
|
||||||
|
|
||||||
sortByPreviousUsage: function(vmconfig, controllerList) {
|
sortByPreviousUsage: function(vmconfig, controllerList) {
|
||||||
var sortedList = [];
|
|
||||||
|
|
||||||
var usedControllers = Ext.clone(PVE.form.ControllerSelector.maxIds);
|
var usedControllers = Ext.clone(PVE.form.ControllerSelector.maxIds);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user