set preview content in read only mode
This commit is contained in:
@@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user