fix bugs in map and url controller
This commit is contained in:
parent
2e9c22aa6d
commit
19cb033bdc
2 changed files with 3 additions and 0 deletions
|
@ -296,6 +296,7 @@ Ox.URL = function(options) {
|
|||
}
|
||||
|
||||
function parseCondition(str) {
|
||||
Ox.print('PARSE COND', str)
|
||||
var condition = {},
|
||||
operators = ['!==', '==', '!=', '=', '!<', '<', '!>', '>'],
|
||||
split;
|
||||
|
@ -350,6 +351,7 @@ Ox.URL = function(options) {
|
|||
}
|
||||
|
||||
function parseFind(str) {
|
||||
str = str.replace(/%7C/g, '|');
|
||||
var conditions, counter = 0,
|
||||
find = {conditions: [], operator: '&'},
|
||||
subconditions = [];
|
||||
|
|
|
@ -1166,6 +1166,7 @@ Ox.Map = function(options, self) {
|
|||
};
|
||||
|
||||
function submitFind(data) {
|
||||
self.options.find = data.value;
|
||||
that.findPlace(data.value, function(place) {
|
||||
setStatus(place);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue