I'm having issues migrating to on style events for draw toolbar.This does not register an event:var on = app.map.drawToolbar.on('draw-end', function(evt) { on.remove(); //do stuff blah blah blah });
It works on the sample.I've had no problems with on style events with dojo and other esri objects.This works:var on = layer.on('load', function() { on.remove(); //do stuff blah blah blah });