12345678910111213141516171819202122232425262728293031323334353637 |
- var Bookmark = {
-
-
- BookmarkXHR: function(form)
- {
- SN.U.FormXHR(form, Bookmark.InitBookmarkForm);
- return false;
- },
-
-
- InitBookmarkForm: function() {
- SN.Init.CheckBoxes();
- $('fieldset fieldset label').inFieldLabels({ fadeOpacity:0 });
- SN.Init.NoticeFormSetup($('#form_new_bookmark'));
- }
- }
- $(document).ready(function() {
-
- $(document).off("submit", "form.ajax");
- $(document).off("click", "form.ajax input[type=submit]");
-
- $(document).on('submit', '#form_initial_bookmark', function (e) {
- Bookmark.BookmarkXHR($(this));
- e.stopPropagation();
- return false;
- });
-
- SN.Init.AjaxForms();
- });
|