fix login
This commit is contained in:
parent
5bcf59739d
commit
e905ce7ea9
|
@ -38,7 +38,7 @@ function init() {
|
||||||
display:''
|
display:''
|
||||||
});
|
});
|
||||||
fetchProfiles();
|
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();
|
document.forms.loginForm.login.focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ function init() {
|
||||||
|
|
||||||
function fetchProfiles() {
|
function fetchProfiles() {
|
||||||
try {
|
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) {
|
if (query) {
|
||||||
new Ajax.Request("public.php", {
|
new Ajax.Request("public.php", {
|
||||||
|
|
Loading…
Reference in New Issue