Changeset 2049
- Timestamp:
- 10/22/2009 12:15:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/bp-themes/bp-sn-parent/_inc/js/ajax.js
r2031 r2049 973 973 ); 974 974 975 j("form#status-update-form").livequery('submit',976 function() {977 j.post( ajaxurl, {978 action: 'status_new_status',979 'cookie': encodeURIComponent(document.cookie),980 '_wpnonce': j('input#_wpnonce_add_status').val(),981 'status-update-input': j('#status-update-input').val()982 },983 function(response) {984 if ( response == "1" ) {985 j("div#user-status").slideUp(400,986 function() {987 j.post( ajaxurl, {988 action: 'status_show_status',989 'cookie': encodeURIComponent(document.cookie)990 },991 function(response) {992 j("div#user-status").html(response);993 j("div#user-status").slideDown(400);994 j(window).unbind('click');995 });996 }997 );998 }999 });1000 1001 return false;1002 }1003 );1004 1005 975 j("a#status-clear-status").livequery('click', 1006 976 function() {
Note: See TracChangeset
for help on using the changeset viewer.