[buddypress-trac] [BuddyPress] #3646: Mailpress conflict - TypeError with slideDown() and ScrollTo()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Oct 3 15:53:46 UTC 2011


#3646: Mailpress conflict - TypeError with slideDown() and ScrollTo()
------------------------+----------------------
 Reporter:  antoviaque  |       Owner:
     Type:  defect      |      Status:  closed
 Priority:  normal      |   Milestone:
Component:  Groups      |     Version:
 Severity:  normal      |  Resolution:  invalid
 Keywords:              |
------------------------+----------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 The problem appears to be that Mailpress is reloading jQuery. In the
 Mailpress widget, make sure you check that jquery is preloaded. Then
 everything works fine.

 My opinion is that this is not a bug. The reason why Mailpress offers the
 "preloaded" option in the widget is to account for themes where jquery is
 not loaded. Since bp-default *does* load jQuery, that seems to be the very
 purpose of the "preloaded" checkbox. If anything, Mailchimp could be a bit
 more sophisticated about the way it enqueues jQuery for the widget; it
 currently does it in the widget itself, when it should really be doing it
 on the wp_enqueue_scripts action, using
 http://codex.wordpress.org/Function_Reference/is_active_widget or
 something like that.

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


More information about the buddypress-trac mailing list