3 // Special XHR that sends in some code to be run
4 // when the full bookmark form gets loaded
5 BookmarkXHR: function(form)
7 SN.U.FormXHR(form, Bookmark.InitBookmarkForm);
11 // Special initialization function just for the
12 // second step in the bookmarking workflow
13 InitBookmarkForm: function() {
16 // Put fancy stuff here
21 $(document).ready(function() {
23 // Stop normal live event stuff
25 $('form.ajax input[type=submit]').die();
27 // Make the bookmark submit super special
28 $('#form_initial_bookmark').bind('submit', function(e) {
29 Bookmark.BookmarkXHR($(this));
34 // Restore live event stuff to other forms & submit buttions