- Timestamp:
- 2020-02-05T19:53:01+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java
r14324 r15814 43 43 engine.eval("var global = {};"); 44 44 engine.eval(reader); 45 engine.eval("var overpassWizard = function(query) {" +46 " return global.overpassWizard(query, {" +45 engine.eval("var overpassWizardJOSM = function(query) {" + 46 " return overpassWizard(query, {" + 47 47 " comment: false," + 48 48 " timeout: " + Config.getPref().getInt("overpass.wizard.timeout", 90) + "," + … … 68 68 } 69 69 try { 70 final Object result = ((Invocable) engine).invokeFunction("overpassWizard ", search);70 final Object result = ((Invocable) engine).invokeFunction("overpassWizardJOSM", search); 71 71 if (Boolean.FALSE.equals(result)) { 72 72 throw new UncheckedParseException();
Note:
See TracChangeset
for help on using the changeset viewer.