use new form element syntax
This commit is contained in:
parent
6321b4e2a9
commit
e965ae21c2
15 changed files with 123 additions and 126 deletions
|
|
@ -97,7 +97,7 @@ pandora.ui.preferencesDialog = function() {
|
|||
this.options({
|
||||
title: this.options('title') == 'Subscribed' ? 'Unsubscribed' : 'Subscribed'
|
||||
});
|
||||
pandora.user.newsletter = data.checked;
|
||||
pandora.user.newsletter = data.value;
|
||||
pandora.api.editPreferences({
|
||||
newsletter: pandora.user.newsletter
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue