mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-09 08:25:00 -04:00
Merge 6d5fe459f0
into 34fdfcb253
This commit is contained in:
commit
8db6544119
1 changed files with 4 additions and 1 deletions
|
@ -298,7 +298,10 @@ exports.getLastEdited = function(padID, callback)
|
||||||
getPadSafe(padID, true, function(err, pad)
|
getPadSafe(padID, true, function(err, pad)
|
||||||
{
|
{
|
||||||
if(ERR(err, callback)) return;
|
if(ERR(err, callback)) return;
|
||||||
callback(null, {lastEdited: pad.getLastEdited()});
|
pad.getLastEdit(function(err, value) {
|
||||||
|
if(ERR(err, callback)) return;
|
||||||
|
callback(null, {lastEdited: value});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue