Fixed issue #219 - Changing notification sound did not show selected sound after re-rendering the page without complete reload.
This commit is contained in:
parent
c96f5b46a8
commit
29ec431810
1 changed files with 1 additions and 2 deletions
|
@ -84,8 +84,7 @@ class Index extends App.ControllerSubContent
|
|||
config['group_ids'].push group_id.toString()
|
||||
|
||||
for sound in @sounds
|
||||
if sound.file is App.OnlineNotification.soundFile()
|
||||
sound.selected = true
|
||||
sound.selected = sound.file is App.OnlineNotification.soundFile() ? true : false
|
||||
|
||||
@html App.view('profile/notification')
|
||||
groups: groups
|
||||
|
|
Loading…
Reference in a new issue