mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
ux: Better ux for if cookies are disabled or not available.
This commit is contained in:
parent
a4713a8308
commit
0d51e71578
5 changed files with 30 additions and 23 deletions
|
@ -78,7 +78,12 @@ var padcookie = (function()
|
|||
|
||||
if ((!getRawCookie()) && (!alreadyWarnedAboutNoCookies))
|
||||
{
|
||||
alert("Warning: it appears that your browser does not have cookies enabled." + " EtherPad uses cookies to keep track of unique users for the purpose" + " of putting a quota on the number of active users. Using EtherPad without " + " cookies may fill up your server's user quota faster than expected.");
|
||||
$.gritter.add({
|
||||
title: "Error",
|
||||
text: html10n.get("pad.noCookie"),
|
||||
sticky: true,
|
||||
class_name: "error"
|
||||
});
|
||||
alreadyWarnedAboutNoCookies = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue