Changeset 13090


Ignore:
Timestamp:
Nov 13, 2011, 11:08:49 PM (10 years ago)
Author:
jordan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r13087 r13090  
    6666                $('#toolbar-inspector').click($.proxy(this.toggleInspector,this));
    6767
    68                 $('#filter-mode').change($.proxy(this.onFilterModeClicked,this));
     68                e = $('#filter-mode');
     69                e.val(this[Prefs._FilterMode]);
     70                e.change($.proxy(this.onFilterModeClicked,this));
    6971                $('#filter-tracker').change($.proxy(this.onFilterTrackerClicked,this));
    7072
Note: See TracChangeset for help on using the changeset viewer.