add error handling for permalinks

This commit is contained in:
Norbert Renner 2014-08-23 13:12:55 +02:00
parent 2c5906ad7b
commit c4d87b122c
2 changed files with 38 additions and 12 deletions

View file

@ -155,7 +155,7 @@
}
}
});
routing.on('routing:routeWaypointEnd', function(evt) {
routing.on('routing:routeWaypointEnd routing:setWaypointsEnd', function(evt) {
onUpdate(evt && evt.err);
});