Skip to content

Instantly share code, notes, and snippets.

@arturo-c
Created June 21, 2012 13:27
Show Gist options
  • Save arturo-c/2965726 to your computer and use it in GitHub Desktop.
Save arturo-c/2965726 to your computer and use it in GitHub Desktop.
diff --git a/www/sites/all/modules/apci_features/spaces_og_registration/session_storage.js b/www/sites/all/modules/apci_features/spaces_og_registration/session_storage.js
index df6f5d6..578b8fc 100644
--- a/www/sites/all/modules/apci_features/spaces_og_registration/session_storage.js
+++ b/www/sites/all/modules/apci_features/spaces_og_registration/session_storage.js
@@ -50,6 +50,11 @@
inputStorage('remove');
$(this).unbind().click();
});
+ $('#edit-submit').click(function (event) {
+ event.preventDefault();
+ inputStorage('remove');
+ $(this).unbind().click();
+ });
};
var addStorage = function (element) {
@@ -123,4 +128,4 @@
}
});
}; // inputStorage
-})(jQuery);
\ No newline at end of file
+})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment