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

@ -15,7 +15,7 @@ pandora.ui.sectionButtons = function() {
})
.bindEvent({
change: function(data) {
var section = data.selected[0];
var section = data.value;
if (section == 'items') {
pandora.URL.set(pandora.Query.toString());
} else if (section == 'clips') {