(trunk web) the filter mode is preserved between sessions, so on startup initialize the filter mode selector properly.

This commit is contained in:
Jordan Lee
2011-11-13 23:08:49 +00:00
parent fab05d7f7b
commit 93708228e2

View File

@@ -65,7 +65,9 @@ Transmission.prototype =
$('#toolbar-inspector').click($.proxy(this.toggleInspector,this));
$('#filter-mode').change($.proxy(this.onFilterModeClicked,this));
e = $('#filter-mode');
e.val(this[Prefs._FilterMode]);
e.change($.proxy(this.onFilterModeClicked,this));
$('#filter-tracker').change($.proxy(this.onFilterTrackerClicked,this));
if (!isMobileDevice) {