Skip to content
This repository has been archived by the owner. It is now read-only.

Add a confirm javascript module #64

Merged
merged 1 commit into from Mar 24, 2015
Merged

Add a confirm javascript module #64

merged 1 commit into from Mar 24, 2015

Conversation

@fofr
Copy link
Contributor

@fofr fofr commented Mar 24, 2015

Make it easy to display a [window.confirm](https://developer.mozilla.org/en-US/docs/Web/API/Window
/confirm) dialogue with a custom message when a link is clicked:

<a href="#" data-module="confirm" data-message="Are you sure?">Do a thing</a>

Useful as part of:
https://www.pivotaltracker.com/story/show/90529348

As a Specialist Publisher user, I want to avoid accidentally publishing content items I've created so that I don't risk the reputation of the place I work.

cc @jackscotti

Make it easy to display a
[window.confirm](https://developer.mozilla.org/en-US/docs/Web/API/Window
/confirm) dialogue with a custom message whenever a link is clicked.
@jackscotti
Copy link
Contributor

@jackscotti jackscotti commented Mar 24, 2015

thank you for taking care of this. I do not have enough knowledge and experience for reviewing this PR though. Let's wait for someone else. :)

benilovj added a commit that referenced this pull request Mar 24, 2015
Add a confirm javascript module
@benilovj benilovj merged commit 818f33b into master Mar 24, 2015
1 check passed
1 check passed
default "Build #100 succeeded on Jenkins"
Details
@benilovj benilovj deleted the confirm-module branch Mar 24, 2015
fofr added a commit that referenced this pull request Mar 30, 2015
* Add a confirm JS module:
#64
fofr added a commit that referenced this pull request Mar 30, 2015
* Add a confirm javascript module for confirming a user action:
#64
@fofr fofr mentioned this pull request Mar 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.