Clear profile (creates new file on next upload)

This commit is contained in:
Norbert Renner 2014-05-24 13:09:25 +02:00
parent 3c0765547c
commit 858b68f91e
4 changed files with 16 additions and 3 deletions

View file

@ -119,6 +119,9 @@
routingOptions.setCustomProfile(profile);
});
});
profile.on('clear', function(evt) {
routingOptions.setCustomProfile(null);
});
routing = new BR.Routing({routing: {
router: L.bind(router.getRouteSegment, router)