// IE<10 doesn't respect Vary: X-Requested-With header, so
// prevent caching the XHR response as a full-page URL.
if (path.indexOf('?') >= 0) {
// IE<10 doesn't respect Vary: X-Requested-With header, so
// prevent caching the XHR response as a full-page URL.
if (path.indexOf('?') >= 0) {
$.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" });
});
$.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" });
});
if (!window.location.hash && bounds.isValid() &&
(center || !map.getBounds().contains(bounds))) {
OSM.router.withoutMoveListener(function () {
if (!window.location.hash && bounds.isValid() &&
(center || !map.getBounds().contains(bounds))) {
OSM.router.withoutMoveListener(function () {
remoteEditHandler(map.getBounds(), params.object);
OSM.router.setCurrentPath("/");
}
remoteEditHandler(map.getBounds(), params.object);
OSM.router.setCurrentPath("/");
}