update oxjs params and setUrl, some more user functions
This commit is contained in:
parent
4d4d500e4c
commit
0c8906ffbd
5 changed files with 14 additions and 13 deletions
|
|
@ -727,7 +727,7 @@ $(function() {
|
|||
sort: user.prefs.sortGroups,
|
||||
order: user.prefs.orderGroups,
|
||||
url: "/json/find",
|
||||
params: ["g=country"]
|
||||
params: {g:"country"}
|
||||
}).attr({
|
||||
id: "groups"
|
||||
});
|
||||
|
|
@ -1062,6 +1062,11 @@ $(function() {
|
|||
}).attr({
|
||||
id: "find"
|
||||
}).appendTo($topMenu.$element).trigger("blur");
|
||||
$find.change(function(that) {
|
||||
var q = $(this).val();
|
||||
$main.setUrl("/json/find", {q:q});
|
||||
$mainBrowser.setUrl("/json/find", {g:"country", q:q});
|
||||
});
|
||||
|
||||
/*
|
||||
$find = $("<input/>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue