Re: [pve-devel] [PATCH v3 2/2] firewall autodisable GUI patch

2015-07-01 Thread Alen Grizonic
Yes, in this case we can simply use a fixed method. Thanks. On 07/01/2015 02:13 PM, Dietmar Maurer wrote: + PVE.Utils.API2Request({ + url: me.url, + waitMsgTarget: me, + method: me.method || (me.backgroundDelay ? 'POST' : 'PUT'), Can we simply

Re: [pve-devel] [PATCH v3 2/2] firewall autodisable GUI patch

2015-07-01 Thread Dietmar Maurer
> + PVE.Utils.API2Request({ > + url: me.url, > + waitMsgTarget: me, > + method: me.method || (me.backgroundDelay ? 'POST' : 'PUT'), Can we simply used fixed method here? method: 'PUT', ___ pve-devel mailing l

[pve-devel] [PATCH v3 2/2] firewall autodisable GUI patch

2015-07-01 Thread Alen Grizonic
Changes since [PATCH]: - removed all the unnecessary code - direct call of the warning message without using the hook method - additional function submit_first to pass the enable flag parameter in the correct way - added additional condition for the close method - optimized enable flag change con