Commits

pjenvey  committed a02524c

[svn] whitespace

  • Participants
  • Parent commits 6d77642

Comments (0)

Files changed (1)

File webhelpers/rails/form_tag.py

         onclick = options.get('onclick', '')
         if onclick.strip() and not onclick.rstrip().endswith(';'):
             onclick += ';'
-        options['onclick'] = "%s return %s;" % (onclick, confirm_javascript_function(confirm))
+        options['onclick'] = "%sreturn %s;" % (onclick, confirm_javascript_function(confirm))
 
     if disable_with:
         options["onclick"] = "this.disabled=true;this.value='%s';this.form.submit();%s" % (disable_with, options.get("onclick", ''))