1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 04:35:56 +00:00

fix login

This commit is contained in:
Andrew Dolgov
2018-12-03 09:26:26 +03:00
parent 5bcf59739d
commit e905ce7ea9

View File

@@ -38,7 +38,7 @@ function init() {
display:''
});
fetchProfiles();
dijit.byId("bw_limit").attr("checked", getCookie("ttrss_bwlimit") == 'true');
dijit.byId("bw_limit").attr("checked", Cookie.get("ttrss_bwlimit") == 'true');
document.forms.loginForm.login.focus();
});
@@ -46,7 +46,7 @@ function init() {
function fetchProfiles() {
try {
var query = "op=getProfiles&login=" + param_escape(document.forms["loginForm"].login.value);
var query = "op=getProfiles&login=" + encodeURIComponent(document.forms["loginForm"].login.value);
if (query) {
new Ajax.Request("public.php", {