Can this be done? I've got a code snippet that resembles the following:
<div class="popover-wrapper">
<a class="glyphicon glyphicon-time" ng-if="activity.type === 'continuous'" ng-style=" { 'border': 'none', 'color': activity.timer.color.icon, 'cursor': 'pointer'}" editable-select="manualTimer.status" e-ng-options="s.value as s.text for s in manualTimerStatuses" onaftersave="timerSet()"></a>
</div>
The popover displays two buttons. Clicking the submit button alters the model, manualTimer.status
. However, my question is whether it's feasible to assign a custom function to run when the cancel button is clicked.