readwrite should be on innerdoc

This commit is contained in:
John McLear 2015-04-12 19:30:06 +01:00
parent 20e899476a
commit 27d4686ff8

View file

@ -322,7 +322,7 @@ function handshake()
pad._afterHandshake(); pad._afterHandshake();
initalized = true; initalized = true;
$("body").addClass(clientVars.readonly ? "readonly" : "readwrite") $("#innerdocbody").addClass(clientVars.readonly ? "readonly" : "readwrite")
padeditor.ace.callWithAce(function (ace) { padeditor.ace.callWithAce(function (ace) {
ace.ace_setEditable(!clientVars.readonly); ace.ace_setEditable(!clientVars.readonly);