mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-24 05:28:15 +00:00
followup code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2280ae09a9
commit
d0af658440
@ -133,8 +133,12 @@ Ext.define('Proxmox.button.StdRemoveButton', {
|
|||||||
|
|
||||||
handler: function(btn, event, rec) {
|
handler: function(btn, event, rec) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
var url = me.getUrl(rec);
|
var url = me.getUrl(rec);
|
||||||
if (typeof me.delay !== 'undefined') url += "?delay=" + me.delay;
|
|
||||||
|
if (typeof me.delay !== 'undefined' && me .delay >= 0) {
|
||||||
|
url += "?delay=" + me.delay;
|
||||||
|
}
|
||||||
|
|
||||||
Proxmox.Utils.API2Request({
|
Proxmox.Utils.API2Request({
|
||||||
url: url,
|
url: url,
|
||||||
|
Loading…
Reference in New Issue
Block a user