mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
Minor fix.
This commit is contained in:
parent
07c8a1d8c7
commit
0c433352c5
@ -162,7 +162,7 @@ public class MindmapController {
|
|||||||
model.addAttribute("mindmapLocked", true);
|
model.addAttribute("mindmapLocked", true);
|
||||||
} else {
|
} else {
|
||||||
final LockInfo lock = lockManager.lock(mindmap, collaborator);
|
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(LOCK_SESSION_ATTRIBUTE, lockManager.generateSession());
|
||||||
}
|
}
|
||||||
model.addAttribute("lockInfo", lockManager.getLockInfo(mindmap));
|
model.addAttribute("lockInfo", lockManager.getLockInfo(mindmap));
|
||||||
|
Loading…
Reference in New Issue
Block a user