Skip to:
Content

BuddyPress.org

Changeset 1948


Ignore:
Timestamp:
09/25/2009 08:08:24 PM (17 years ago)
Author:
apeatling
Message:

Status update loading indicators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-sn-parent/_inc/js/ajax.js

    r1926 r1948  
    885885        j("form#status-update-form").livequery('submit',
    886886                function() {
     887                        j('input#status-update-post').attr( 'disabled', 'disabled' );
     888               
    887889                        j.post( ajaxurl, {
    888890                                action: 'status_new_status',
     
    934936        j("div.status-editable p, a#status-new-status").livequery('click',
    935937                function() {
     938                        j('div.generic-button a#status-new-status').parent().addClass('loading');
     939                       
    936940                        j.post( ajaxurl, {
    937941                                action: 'status_show_form',
     
    10041008        j("a#status-clear-status").livequery('click',
    10051009                function() {
     1010                        j(this).addClass('ajax-loader');
     1011                        j(this).attr('style', 'vertical-align: middle; display: inline-block; overflow: hidden; width: 10px; text-indent: -999em' );
     1012                       
    10061013                        j.post( ajaxurl, {
    10071014                                action: 'status_clear_status',
Note: See TracChangeset for help on using the changeset viewer.