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

Add no Cancel button option #71

Merged
merged 4 commits into from
Oct 6, 2016
Merged

Add no Cancel button option #71

merged 4 commits into from
Oct 6, 2016

Conversation

Deuteu
Copy link
Contributor

@Deuteu Deuteu commented Oct 2, 2016

Issue #33

@@ -101,6 +101,13 @@
'<h4 class="modal-title">' + settings.title+'</h4>' +
'</div>';
}
var cancelButtonHtml = '';
if (settings.cancelButton) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default the property will not exist right? So the cancel button will disappear when people upgrade

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wait you are re-using the "cancel button" label option :) How about updating the documentation of that option in the README: https://github.com/myclabs/jquery.confirm#options ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah indeed, forgot about that.
Will do it asap.

@Deuteu
Copy link
Contributor Author

Deuteu commented Oct 3, 2016

@mnapoli Should be good now.

@mnapoli
Copy link
Member

mnapoli commented Oct 6, 2016

Nice thanks!

@mnapoli mnapoli merged commit d470b30 into myclabs:master Oct 6, 2016
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants