Fixed issue #219 - Changing notification sound did not show selected sound after re-rendering the page without complete reload.

This commit is contained in:
Jens Pfeifer 2017-01-25 12:41:23 +00:00
parent c96f5b46a8
commit 29ec431810

View file

@ -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