forked from 0x2620/pandora
use new form element syntax
This commit is contained in:
parent
6321b4e2a9
commit
e965ae21c2
15 changed files with 123 additions and 126 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue