fix bugs where ui find and the filter query would be the same object, keeping changes from triggering

This commit is contained in:
rolux 2011-11-10 10:30:39 +00:00
commit d539f6aebf
4 changed files with 7 additions and 14 deletions

View file

@ -19,7 +19,7 @@ pandora.ui.findElement = function() {
var key = data.selected[0].id;
pandora.$ui.findInput.options({
autocomplete: autocompleteFunction()
}).focus();
}).focusInput();
}
}),
] : [], [
@ -56,10 +56,11 @@ pandora.ui.findElement = function() {
pandora.$ui.filterDialog = pandora.ui.filterDialog()
)).open();
} else {
Ox.Log('FIND', pandora.$ui.findInput.value())
pandora.$ui.findInput.options({
autocomplete: autocompleteFunction(),
placeholder: ''
}).focus();
}).focusInput();
}
}
}),