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

@ -16,7 +16,6 @@ pandora.ui.findElement = function() {
})
.bindEvent({
change: function(data) {
var key = data.selected[0].id;
pandora.$ui.findInput.options({
autocomplete: autocompleteFunction()
}).focusInput(true);
@ -46,8 +45,7 @@ pandora.ui.findElement = function() {
})
.bindEvent({
change: function(data) {
var key = data.selected[0].id;
if (key == 'advanced') {
if (data.value == 'advanced') {
that.update();
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
} else {