set preview content in read only mode
This commit is contained in:
parent
6324d9bbb0
commit
6faca87e73
@ -304,7 +304,10 @@ define([
|
|||||||
|
|
||||||
onLocal(); // push local state to avoid parse errors later.
|
onLocal(); // push local state to avoid parse errors later.
|
||||||
|
|
||||||
if (readOnly) { return; }
|
if (readOnly) {
|
||||||
|
config.onRemote();
|
||||||
|
return;
|
||||||
|
}
|
||||||
UserList.getLastName(toolbar.$userNameButton, isNew);
|
UserList.getLastName(toolbar.$userNameButton, isNew);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user