diff --git a/scp/js/scp.js b/scp/js/scp.js
index e2cadf58f763b6d7b5cfb62166a54e4d5212c229..1426aba1386160022c2da5d212b2a1fd29094ec4 100644
--- a/scp/js/scp.js
+++ b/scp/js/scp.js
@@ -800,6 +800,11 @@ $.changeHash = function(hash, quiet) {
   }
 };
 
+// Forms — submit, stay on same tab
+$(document).on('submit', 'form', function() {
+    $(this).attr('action', $(this).attr('action') + window.location.hash);
+});
+
 //Collaborators
 $(document).on('click', 'a.collaborator, a.collaborators', function(e) {
     e.preventDefault();