Skip to:
Content

BuddyPress.org

Changeset 2800


Ignore:
Timestamp:
03/03/2010 10:09:59 AM (17 years ago)
Author:
johnjamesjacoby
Message:

Better chaining of xprofile field group jQuery. Remove vision of the future. ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/admin/js/admin.js

    r2799 r2800  
    123123                        function(response){});
    124124                }
    125         });
    126         jQuery("form#profile-field-form div#field-groups").disableSelection();
     125        }).disableSelection();
    127126
    128127        jQuery("table.field-group tbody").sortable( {
     
    133132                items: 'tr',
    134133                cancel: 'tr.nodrag',
    135                 connectWith: 'table.field-group tbody',
    136134                tolerance: 'pointer',
    137135                update: function() {
     
    144142                        function(response){});
    145143                }
    146         });
    147         jQuery("table.field-group tbody").disableSelection();
    148 } );
     144        }).disableSelection();
     145});
Note: See TracChangeset for help on using the changeset viewer.