Opened 11 years ago
Closed 11 years ago
#5205 closed defect (bug) (fixed)
IE8 bug in global.js (String.prototype.trim is undefined)
Reported by: | tomdxw | Owned by: | r-a-y |
---|---|---|---|
Milestone: | 1.9 | Priority: | normal |
Severity: | normal | Version: | 1.8.1 |
Component: | Core | Keywords: | has-patch |
Cc: |
Description
I couldn't find any information on what browsers BuddyPress supports, so I don't know if this is a valid bug or not, but I'll report it anyway.
- Use IE8, with BuddyPress and the bp-default theme activated
- Visit a group
- Type something into the "what's new" box
- Click "Post Update"
- IE8 reports an error on line 1502 of global.js and the post is not submitted
To fix I simply added this polyfill: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trim#Compatibility
Change History (3)
#1
@
11 years ago
- Keywords has-patch needs-testing added
- Milestone changed from Awaiting Review to 1.9
- Owner set to r-a-y
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
Thanks for the report. Adding the polyfill seems reasonable if it fixes the issue.
r-a-y, as our resident IE8 expert, could you have a look?