mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 18:07:40 +00:00
make lint happy
This commit is contained in:
parent
08b0c8e7d4
commit
2a6fd892a3
@ -12,7 +12,7 @@ Ext.define('PVE.form.SnapshotSelector', {
|
||||
me.nodename = nodename;
|
||||
|
||||
if (!vmid) {
|
||||
return
|
||||
return;
|
||||
}
|
||||
|
||||
me.vmid = vmid;
|
||||
@ -38,7 +38,7 @@ Ext.define('PVE.form.SnapshotSelector', {
|
||||
|
||||
var store = Ext.create('Ext.data.Store', {
|
||||
fields: [ 'name'],
|
||||
filterOnLoad: true,
|
||||
filterOnLoad: true
|
||||
});
|
||||
|
||||
Ext.apply(me, {
|
||||
@ -52,7 +52,7 @@ Ext.define('PVE.form.SnapshotSelector', {
|
||||
dataIndex: 'name',
|
||||
hideable: false,
|
||||
flex: 1
|
||||
},
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
||||
|
@ -7,7 +7,7 @@ Ext.define('PVE.window.Clone', {
|
||||
create_clone: function(snapname, name, newvmid, clonemode, storage, format, diskarray) {
|
||||
var me = this;
|
||||
|
||||
params = { name: name, newid: newvmid };
|
||||
var params = { name: name, newid: newvmid };
|
||||
|
||||
if (snapname && snapname !== 'current') {
|
||||
params.snapname = snapname;
|
||||
@ -123,7 +123,7 @@ Ext.define('PVE.window.Clone', {
|
||||
xtype: 'textfield',
|
||||
name: 'name',
|
||||
allowBlank: false,
|
||||
fieldLabel: 'Name',
|
||||
fieldLabel: 'Name'
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -84,7 +84,7 @@ Ext.define('PVE.qemu.CmdMenu', {
|
||||
var win = Ext.create('PVE.window.Clone', {
|
||||
snapname: 'current',
|
||||
nodename: nodename,
|
||||
vmid: vmid,
|
||||
vmid: vmid
|
||||
});
|
||||
win.show();
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ Ext.define('PVE.qemu.TemplateMenu', {
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
me.callParent();
|
||||
|
Loading…
Reference in New Issue
Block a user