From b26d40e0d20fd98c812b0f4f4c1484fe89ee3c07 Mon Sep 17 00:00:00 2001 From: kevinparkerson Date: Mon, 28 Sep 2015 11:27:10 -0400 Subject: [PATCH] fixes #1499 by correcting placard event names --- _includes/js/placard.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/js/placard.html b/_includes/js/placard.html index d9dcc8610..492cd47a9 100644 --- a/_includes/js/placard.html +++ b/_includes/js/placard.html @@ -190,11 +190,11 @@

Events

- accept.fu.placard + accepted.fu.placard Fires when the user indicates the desire to 'accept' changes. This event fires after the onAccept function, if defined. - cancel.fu.placard + canceled.fu.placard Fires when the user indicates the desire to 'cancel' changes. This event fires after the onCancel function, if defined. @@ -210,7 +210,7 @@

Events

All placard events are fired on the .placard classed element.

{% highlight js %} -$('#myPlacard').on('accept.fu.placard', function () { +$('#myPlacard').on('accepted.fu.placard', function () { // do something… }); {% endhighlight %}