Commits

Dan Colish committed dd05109 Merge

merge eric_oconnell/lodgeit-main -- prevent double submits

Comments (0)

Files changed (1)

lodgeit/static/lodgeit.js

       var submit = false;
       var self = this;
       this.onsubmit = function() {
+        self.find('input[type=submit]').disable();
         if (submit)
           return true;
         $('div.related div.content').slideUp(300, function() {