PostfixQShape: fix onDeleteAll

This commit is contained in:
Dietmar Maurer 2017-09-26 10:19:36 +02:00
parent 81c250bdcd
commit 91814a7615

View File

@ -56,8 +56,8 @@ Ext.define('PMG.Postfix.QShape', {
var view = this.getView(); var view = this.getView();
Proxmox.Utils.API2Request({ Proxmox.Utils.API2Request({
url: '/api2/extjs/nodes/' + view.nodename + '/postfix/delete_deferred_queue', url: '/api2/extjs/nodes/' + view.nodename + '/postfix/queue/deferred',
method: 'POST', method: 'DELETE',
waitMsgTarget: view, waitMsgTarget: view,
success: function(response, opts) { success: function(response, opts) {
view.store.load(); view.store.load();