diff --git a/deluge/ui/webui/pages.py b/deluge/ui/webui/pages.py index 658822bc9..5e088f5c1 100644 --- a/deluge/ui/webui/pages.py +++ b/deluge/ui/webui/pages.py @@ -95,7 +95,7 @@ class index: value = getattr(web.input(**{filter_name:None}), filter_name) if value and value <> "All": filter_dict[filter_name] = value - setcookie(filter_name, vars.state) + setcookie(filter_name, getattr(vars, filter_name)) else: setcookie(filter_name, "") diff --git a/deluge/ui/webui/register_menu.py b/deluge/ui/webui/register_menu.py index 74c56e99c..ff1586192 100644 --- a/deluge/ui/webui/register_menu.py +++ b/deluge/ui/webui/register_menu.py @@ -42,10 +42,10 @@ menu.register_admin_page("about", _("About"), "/about") menu.register_admin_page("logout", _("Logout"), "/logout") menu.register_detail_tab("details", _("Details"), "tab_meta") -menu.register_detail_tab("files", _("Files"), "tab_files") menu.register_detail_tab("options", _("Options"), "tab_options") menu.register_detail_tab("trackers", _("Trackers"), "tab_trackers") menu.register_detail_tab("peers", _("Peers"), "tab_peers") +menu.register_detail_tab("files", _("Files"), "tab_files") menu.register_toolbar_item("add", _("Add"), "list-add.png" , TB.generic, "GET","/torrent/add/", True) menu.register_toolbar_item("delete",_("Delete"), "list-remove.png" ,TB.torrent_list, "GET","/torrent/delete/" , True) diff --git a/deluge/ui/webui/templates/advanced/part_torrent_list.html b/deluge/ui/webui/templates/advanced/part_torrent_list.html index 5017a5dde..898d3a8df 100644 --- a/deluge/ui/webui/templates/advanced/part_torrent_list.html +++ b/deluge/ui/webui/templates/advanced/part_torrent_list.html @@ -48,7 +48,7 @@ $for torrent in torrent_list: