1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-22 08:21:28 +00:00

add persistent storage for toolbar view options, bump schema

This commit is contained in:
Andrew Dolgov
2007-03-26 06:23:15 +01:00
parent cdbb6dc626
commit 4049672041
12 changed files with 37 additions and 77 deletions

View File

@@ -386,10 +386,10 @@ function init_second_stage() {
document.onkeydown = hotkey_handler;
var tb = parent.document.forms["main_toolbar_form"];
var toolbar = document.forms["main_toolbar_form"];
dropboxSelect(tb.view_mode, getInitParam("toolbar_view_mode"));
dropboxSelect(tb.limit, getInitParam("toolbar_limit"));
dropboxSelect(toolbar.view_mode, getInitParam("default_view_mode"));
dropboxSelect(toolbar.limit, getInitParam("default_view_limit"));
daemon_enabled = getInitParam("daemon_enabled") == 1;
daemon_refresh_only = getInitParam("daemon_refresh_only") == 1;