mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Minor fix.
This commit is contained in:
parent
07c8a1d8c7
commit
0c433352c5
@ -159,10 +159,10 @@ public class MindmapController {
|
||||
final LockManager lockManager = this.mindmapService.getLockManager();
|
||||
if (lockManager.isLocked(mindmap) && !lockManager.isLockedBy(mindmap, collaborator)) {
|
||||
readOnlyMode = true;
|
||||
model.addAttribute("mindmapLocked",true);
|
||||
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
Block a user