in the gui, we always expect an end and starttime, the only case
where we do not get this is when the fields are invalid, so bail out
in that case instead of searching
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
if (value) { param[name] = value; }
});
+ // there must always be a start and endtime, otherwise the field was invalid
+ if (!param.starttime || !param.endtime) {
+ return undefined;
+ }
return param;
},
var filter = this.lookupReference('filter');
var status = this.lookupReference('status');
var params = filter.getFilterParams();
+ if (params === undefined) {
+ return; // something went wrong with the filters bail out
+ }
status.update(''); // clear status before load
view.store.proxy.setExtraParams(params);
view.store.proxy.setUrl('/api2/json/nodes/' + Proxmox.NodeName + '/tracker');