mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
If record ID is missing, don't try to get data for it - skip the whole request
This commit is contained in:
parent
85db39ed4e
commit
df0dc0f27a
@ -351,8 +351,11 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],
|
||||
|
||||
|
||||
dataFetch: function (_queriedRange, _callback, _context) {
|
||||
// Skip getting data if there's no ID
|
||||
if(!this.value.id) return;
|
||||
|
||||
// Pass the fetch call to the API
|
||||
this.egw().dataFetch(
|
||||
this.egw().dataFetch(
|
||||
this.getInstanceManager().etemplate_exec_id,
|
||||
_queriedRange,
|
||||
this._filters,
|
||||
|
Loading…
Reference in New Issue
Block a user