set preview content in read only mode

This commit is contained in:
ansuz 2017-05-23 15:54:04 +02:00
parent 6324d9bbb0
commit 6faca87e73

View File

@ -304,7 +304,10 @@ define([
onLocal(); // push local state to avoid parse errors later.
if (readOnly) { return; }
if (readOnly) {
config.onRemote();
return;
}
UserList.getLastName(toolbar.$userNameButton, isNew);
};