set preview content in read only mode

pull/1/head
ansuz 2017-05-23 15:54:04 +02:00
parent 6324d9bbb0
commit 6faca87e73
1 changed files with 4 additions and 1 deletions

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);
};