Apply patch by Tobias Dammers - correct RTE.lcontroller equals function to fix the infamous model not found error
This commit is contained in:
parent
3261f4a97c
commit
18eaba13f4
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ var new = func(layer) {
|
|||
map: layer.map,
|
||||
listeners: [],
|
||||
};
|
||||
layer.searcher._equals = func(l,r) 0; # TODO: create model objects instead?
|
||||
layer.searcher._equals = func(l,r) return (l == r);
|
||||
append(m.listeners, setlistener(layer.options.active_node, func m.layer.update() ),
|
||||
setlistener(layer.options.wp_num, func m.layer.update() ));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue