from Mayhem 245dfaa1f935ee97856f7c5f718d6af774c078e5: update index mode menu when opened
This commit is contained in:
parent
6bffe73450
commit
30572f4876
@ -30,9 +30,13 @@ Index =
|
||||
{ el: $.el 'label', <%= html('<input type="radio" name="Index Mode" value="all pages"> All threads') %> }
|
||||
{ el: $.el 'label', <%= html('<input type="radio" name="Index Mode" value="catalog"> Catalog') %> }
|
||||
]
|
||||
open: ->
|
||||
for label in @subEntries
|
||||
input = label.el.firstChild
|
||||
input.checked = Conf['Index Mode'] is input.value
|
||||
true
|
||||
for label in modeEntry.subEntries
|
||||
input = label.el.firstChild
|
||||
input.checked = Conf['Index Mode'] is input.value
|
||||
$.on input, 'change', $.cb.value
|
||||
$.on input, 'change', @cb.mode
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user