Commits

Doug Stewart  committed ae88136

Fixes issues #3, pulled over from default branch. AJAX requests for BP Groups widget should now fire correctly.

Stupid overly-specific JS selectors in BuddyPress core libs...

  • Participants
  • Parent commits 0e70e4e
  • Branches 1.3-support

Comments (0)

Files changed (1)

File includes/functions/supports.php

 
 function lblg_register_sidebars() {
 	register_sidebar( array( 'name'=>'Primary',
-						   'before_widget' => '<li>', 
+					       'before_widget' => '<li id="%1$s" class="widget %2$s">',
 						   'after_widget' => '</li>', 
 						   'before_title' => '<h4>', 
 						   'after_title' => '</h4>' ) );
 	register_sidebar( array( 'name'=>'Secondary', 
-						   'before_widget' => '<li>', 
+					       'before_widget' => '<li id="%1$s" class="widget %2$s">',
 						   'after_widget' => '</li>', 
 						   'before_title' => '<h4>', 
 						   'after_title' => '</h4>' ) );
 	register_sidebar( array( 'name'=>'Bottom-Left',
-						   'before_widget' => '<li>', 
+					       'before_widget' => '<li id="%1$s" class="widget %2$s">', 
 						   'after_widget' => '</li>', 
 						   'before_title' => '<h4>', 
 						   'after_title' => '</h4>' ) );
 	register_sidebar( array( 'name'=>'Bottom-Right',
-						   'before_widget' => '<li>', 
+					       'before_widget' => '<li id="%1$s" class="widget %2$s">', 
 						   'after_widget' => '</li>', 
 						   'before_title' => '<h4>', 
 						   'after_title' => '</h4>' ) );