mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-25 12:43:50 +01:00
Fix display lock message.
This commit is contained in:
parent
1c530a0460
commit
6c20ed025a
@ -157,6 +157,7 @@ public class MindmapController {
|
||||
final LockManager lockManager = this.mindmapService.getLockManager();
|
||||
if (lockManager.isLocked(mindmap) && !lockManager.isLockedBy(mindmap, collaborator)) {
|
||||
readOnlyMode = true;
|
||||
isLocked = true;
|
||||
} else {
|
||||
model.addAttribute("lockTimestamp", mindmap.getLastModificationTime().getTimeInMillis());
|
||||
model.addAttribute(LOCK_SESSION_ATTRIBUTE, lockManager.generateSession());
|
||||
|
Loading…
Reference in New Issue
Block a user