mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Fix issue #182: Pad forgets usernames
This commit is contained in:
parent
5f12744446
commit
ce4d9df665
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ function getParams()
|
||||||
{
|
{
|
||||||
var showControls = getUrlVars()["showControls"];
|
var showControls = getUrlVars()["showControls"];
|
||||||
var showChat = getUrlVars()["showChat"];
|
var showChat = getUrlVars()["showChat"];
|
||||||
var userName = unescape(getUrlVars()["userName"]);
|
var userName = getUrlVars()["userName"];
|
||||||
var showLineNumbers = getUrlVars()["showLineNumbers"];
|
var showLineNumbers = getUrlVars()["showLineNumbers"];
|
||||||
var useMonospaceFont = getUrlVars()["useMonospaceFont"];
|
var useMonospaceFont = getUrlVars()["useMonospaceFont"];
|
||||||
var IsnoColors = getUrlVars()["noColors"];
|
var IsnoColors = getUrlVars()["noColors"];
|
||||||
|
@ -130,7 +130,7 @@ function getParams()
|
||||||
if(userName)
|
if(userName)
|
||||||
{
|
{
|
||||||
// If the username is set as a parameter we should set a global value that we can call once we have initiated the pad.
|
// If the username is set as a parameter we should set a global value that we can call once we have initiated the pad.
|
||||||
globalUserName = userName;
|
globalUserName = unescape(userName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue