Update etherpad.js to current version

master
Daniel Berteaud 10 years ago
parent cabf32d255
commit 3c54b6744f
  1. 8
      public/js/etherpad.js

@ -8,6 +8,7 @@
'showChat' : false, 'showChat' : false,
'showLineNumbers' : false, 'showLineNumbers' : false,
'userName' : 'unnamed', 'userName' : 'unnamed',
'lang' : '',
'useMonospaceFont' : false, 'useMonospaceFont' : false,
'noColors' : false, 'noColors' : false,
'userColor' : false, 'userColor' : false,
@ -18,7 +19,8 @@
'border' : 0, 'border' : 0,
'borderStyle' : 'solid', 'borderStyle' : 'solid',
'toggleTextOn' : 'Disable Rich-text', 'toggleTextOn' : 'Disable Rich-text',
'toggleTextOff' : 'Enable Rich-text' 'toggleTextOff' : 'Enable Rich-text',
'rtl' : false
}; };
var $self = this; var $self = this;
@ -42,10 +44,14 @@
iFrameLink = iFrameLink + '&showLineNumbers=' + settings.showLineNumbers; iFrameLink = iFrameLink + '&showLineNumbers=' + settings.showLineNumbers;
iFrameLink = iFrameLink + '&useMonospaceFont=' + settings.useMonospaceFont; iFrameLink = iFrameLink + '&useMonospaceFont=' + settings.useMonospaceFont;
iFrameLink = iFrameLink + '&userName=' + settings.userName; iFrameLink = iFrameLink + '&userName=' + settings.userName;
if (settings.lang) {
iFrameLink = iFrameLink + '&lang=' + settings.lang;
}
iFrameLink = iFrameLink + '&noColors=' + settings.noColors; iFrameLink = iFrameLink + '&noColors=' + settings.noColors;
iFrameLink = iFrameLink + '&userColor=' + settings.userColor; iFrameLink = iFrameLink + '&userColor=' + settings.userColor;
iFrameLink = iFrameLink + '&hideQRCode=' + settings.hideQRCode; iFrameLink = iFrameLink + '&hideQRCode=' + settings.hideQRCode;
iFrameLink = iFrameLink + '&alwaysShowChat=' + settings.alwaysShowChat; iFrameLink = iFrameLink + '&alwaysShowChat=' + settings.alwaysShowChat;
iFrameLink = iFrameLink + '&rtl=' + settings.rtl;
iFrameLink = iFrameLink +'" style="border:' + settings.border; iFrameLink = iFrameLink +'" style="border:' + settings.border;
iFrameLink = iFrameLink +'; border-style:' + settings.borderStyle; iFrameLink = iFrameLink +'; border-style:' + settings.borderStyle;
iFrameLink = iFrameLink +';" width="' + '100%';//settings.width; iFrameLink = iFrameLink +';" width="' + '100%';//settings.width;

Loading…
Cancel
Save