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 | 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)
Change History (5)
#1
@
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.
#3
@
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.
wrong html code