return true;
}
}
+
+function clearHoldFor(){
+ $.cookie("holdfor",null, { path: "/", expires: 0 });
+}
+
+jQuery.fn.preventDoubleFormSubmit = function() {
+ jQuery(this).submit(function() {
+ if (this.beenSubmitted)
+ return false;
+ else
+ this.beenSubmitted = true;
+ });
+};
\ No newline at end of file