Changeset 15814 in josm for trunk/src


Ignore:
Timestamp:
2020-02-05T19:53:01+01:00 (5 years ago)
Author:
simon04
Message:

fix #18639 - Update to overpass-wizard 0.0.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java

    r14324 r15814  
    4343                engine.eval("var global = {};");
    4444                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, {" +
    4747                        "    comment: false," +
    4848                        "    timeout: " + Config.getPref().getInt("overpass.wizard.timeout", 90) + "," +
     
    6868        }
    6969        try {
    70             final Object result = ((Invocable) engine).invokeFunction("overpassWizard", search);
     70            final Object result = ((Invocable) engine).invokeFunction("overpassWizardJOSM", search);
    7171            if (Boolean.FALSE.equals(result)) {
    7272                throw new UncheckedParseException();
Note: See TracChangeset for help on using the changeset viewer.