mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 18:06:15 -04:00
more read only mode fixes andadd support for handleMessageSecurity hook
This commit is contained in:
parent
fe7ab21c84
commit
3944a0e79b
2 changed files with 14 additions and 0 deletions
|
@ -325,6 +325,9 @@ function handshake()
|
|||
if(clientVars.readonly){
|
||||
$('#myusernameedit').attr("disabled", true);
|
||||
$('#chatinput').attr("disabled", true);
|
||||
$('#chaticon').hide();
|
||||
$('#options-chatandusers').parent().hide();
|
||||
$('#options-stickychat').parent().hide();
|
||||
}
|
||||
|
||||
$("body").addClass(clientVars.readonly ? "readonly" : "readwrite")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue