Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Modal: pressing escape key should give a dismiss reason #1956

Closed
tkrotoff opened this issue Mar 19, 2014 · 1 comment
Closed

Modal: pressing escape key should give a dismiss reason #1956

tkrotoff opened this issue Mar 19, 2014 · 1 comment

Comments

@tkrotoff
Copy link
Contributor

Small remark.

At modal.js#L203 no reason is given:

$modalStack.dismiss(modal.key);

It should be symmetric with modal.js#L313:

$modalStack.dismiss(modal.key, 'backdrop click');
@bekos
Copy link
Contributor

bekos commented Mar 21, 2014

@tkrotoff Nice catch. What about a PR? It should be relatively easy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants