Minor fix.
parent
07c8a1d8c7
commit
0c433352c5
|
@ -162,7 +162,7 @@ public class MindmapController {
|
|||
model.addAttribute("mindmapLocked", true);
|
||||
} else {
|
||||
final LockInfo lock = lockManager.lock(mindmap, collaborator);
|
||||
model.addAttribute("lockTimestamp", lock.getTimestamp());
|
||||
model.addAttribute("lockTimestamp", mindmap.getLastModificationTime().getTimeInMillis());
|
||||
model.addAttribute(LOCK_SESSION_ATTRIBUTE, lockManager.generateSession());
|
||||
}
|
||||
model.addAttribute("lockInfo", lockManager.getLockInfo(mindmap));
|
||||
|
|
Loading…
Reference in New Issue