Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1166 closed defect (bug) (no action required)

Wrong html code in blogs, members, groups when search in Opera

Reported by: motomac's profile motoMac Owned by:
Milestone: 1.2 Priority: minor
Severity: Version:
Component: Keywords: search, needs-patch
Cc: slaFFik

Description

There is some problem with html code in template in Opera.

When I make a request like search or querry by letter in alphabetical list (/blogs, /members and /groups), I see an unnecessary code:

<input type="hidden" id="selected_letter" value="" name="selected_letter" /

Attachments (1)

wrong html.jpg (31.9 KB) - added by motoMac 15 years ago.
wrong html code

Download all attachments as: .zip

Change History (5)

@motoMac
15 years ago

wrong html code

#1 @slaFFik
15 years ago

  • Cc slaFFik added

Opera issue only. Can be corrected by writing not "/>" but this:

<input type="hidden" id="selected_letter" value="" name="selected_letter"></input>

In bp-blogs/bp-blogs-templatetags.php lines 1309, 1313, 1317
In bp-groups/bp-groups-templatetags.php lines 2178, 2181, 2185
In bp-groups/bp-groups-templatetags.php lines 1143, 1147, 1151.
Lines numbers were mentioned for BuddyPress 1.1.

#2 @slaFFik
15 years ago

  • Keywords search added

#3 @DJPaul
15 years ago

  • Keywords needs-patch added

This is very strange. I can recreate with Opera 10; it only triggers when you filter by the letter (with AJAX), and it is the output of bp_the_site_group_hidden_fields() that Opera chokes on. I haven't tested it any further than the instance in the screenshot. I think this is an Opera bug. Leaving open for comment as whilst the above fix appears to work, it looks a bit hackish and not something I'd expect to do for a modern web browser.

#4 @apeatling
15 years ago

  • Resolution set to invalid
  • Status changed from new to closed

This is a browser bug, so it's up to them to fix it.

Note: See TracTickets for help on using tickets.