[buddypress-trac] [BuddyPress] #2485: Widgets JS and Pagination JS remove theme div classes

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jul 8 07:23:58 UTC 2010


#2485: Widgets JS and Pagination JS remove theme div classes
-------------------------+--------------------------------------------------
 Reporter:  thekmen      |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  1.3
Component:  Core         |    Keywords:  JS 
-------------------------+--------------------------------------------------

Comment(by r-a-y):

 I think the reason why the class "widget" is added to the selector is
 because if you use the widget on a group or member directory page, both
 the widget and the directory will be AJAX-ed.

 A possible workaround is to deregister the wp_enqueue_script() for the JS
 files and build your own JS off of the packaged ones.

 Look into wp_deregister_script() to get rid of the default JS.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2485#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list