use new form element syntax

This commit is contained in:
rolux 2011-12-21 21:04:28 +05:30
commit e965ae21c2
15 changed files with 123 additions and 126 deletions

View file

@ -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
});