1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

store navigator.appName in session object on init

This commit is contained in:
Andrew Dolgov
2007-01-24 09:43:30 +01:00
parent eb28b131bc
commit 4220d6b037
3 changed files with 10 additions and 2 deletions
+3 -1
View File
@@ -364,7 +364,9 @@ function init() {
debug('debug mode activated');
}
xmlhttp.open("GET", "backend.php?op=rpc&subop=sanityCheck", true);
var params = "&ua=" + param_escape(navigator.userAgent);
xmlhttp.open("GET", "backend.php?op=rpc&subop=sanityCheck" + params, true);
xmlhttp.onreadystatechange=backend_sanity_check_callback;
xmlhttp.send(null);