mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Deactivated last commit (slow because pending requests are ignored), lastModification is now set per app in the model
This commit is contained in:
parent
1be50220a8
commit
7f57f28f38
@ -19,6 +19,8 @@
|
||||
|
||||
egw.extend("data", egw.MODULE_APP_LOCAL, function (_app, _wnd) {
|
||||
|
||||
var lastModification = null;
|
||||
|
||||
/**
|
||||
* The uid function generates a session-unique id for the current
|
||||
* application by appending the application name to the given uid.
|
||||
@ -41,6 +43,11 @@ egw.extend("data", egw.MODULE_APP_LOCAL, function (_app, _wnd) {
|
||||
// The "uidsMissing" contains a list of missing uids.
|
||||
var uidsMissing = [];
|
||||
|
||||
if (_result.lastModification)
|
||||
{
|
||||
lastModification = _result.lastModification;
|
||||
}
|
||||
|
||||
if (_result.order && _result.data)
|
||||
{
|
||||
// Assemble the correct order uids
|
||||
@ -151,7 +158,7 @@ egw.extend("data", egw.MODULE_APP_LOCAL, function (_app, _wnd) {
|
||||
_filters,
|
||||
_widgetId,
|
||||
egw.dataKnownUIDs(_app),
|
||||
_lastModification
|
||||
lastModification
|
||||
],
|
||||
function(result) {
|
||||
parseServerResponse(result, _callback, _context);
|
||||
|
Loading…
Reference in New Issue
Block a user