From: yomguy Date: Mon, 22 Apr 2013 16:27:59 +0000 (+0200) Subject: unbind record button after first click X-Git-Tag: 1.3-TC~47 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=56030f4744b0bd897cbf5e9583a207e5fb6d7bb8;p=teleforma.git unbind record button after first click --- diff --git a/teleforma/templates/teleforma/course_conference_record.html b/teleforma/templates/teleforma/course_conference_record.html index 0400e275..61c72f7c 100644 --- a/teleforma/templates/teleforma/course_conference_record.html +++ b/teleforma/templates/teleforma/course_conference_record.html @@ -10,7 +10,7 @@ jQuery(window).ready(function(){ var a = jQuery('#action_red'); var f = jQuery('#_StationForm'); - a.unbind('click').click(function(){f.submit();return false;}); + a.unbind('click').click(function(){a.unbind('click'); f.submit(); return false;}); var update_courses = function(data){ var courses = data.result;