angular-bootstrap-confirm
Advanced tools
Changelog
2.0.0 (2016-05-01)
focus-confirm-button
has been removed and replaced with focus-button
Now by default neither button will be focused, compared to previously where the confirm button would always be focused.
Before:
<button mwl-confirm focus-confirm-button="true"></button>
After:
<button mwl-confirm focus-button="confirm"></button>
Can also be configured globally with setting the focusButton
property of the confirmationPopoverDefaults
to either confirm
or cancel
like so:
.run(function(confirmationPopoverDefaults) {
confirmationPopoverDefaults.focusButton = 'confirm'; // restore the old behaviour in 1.x
});
The template has also changed, so if you were using a custom template then you will need to update it.
<a name="1.0.1"></a>
Changelog
1.0.0 (2015-12-16)
confirmationPopoverDefaults.handleFocus has been renamed to confirmationPopoverDefaults.focusConfirmButton
<a name="0.7.0"></a>