[buddypress-trac] [BuddyPress] #5205: IE8 bug in global.js (String.prototype.trim is undefined)

buddypress-trac noreply at wordpress.org
Thu Oct 17 22:27:58 UTC 2013


#5205: IE8 bug in global.js (String.prototype.trim is undefined)
--------------------------+---------------------
 Reporter:  tomdxw        |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  1.9
Component:  Core          |     Version:  1.8.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by r-a-y):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7443"]:
 {{{
 #!CommitTicketReference repository="" revision="7443"
 JS: Replace String.trim() method with jQuery's trim() function.

 When using IE8 and when attempting to post an activity update, IE8
 will throw an error and not post the update because of the usage of
 String.trim(), which does not exist in IE8.

 To fix this bug, we replace String.trim() with jQuery's version of
 trim().

 Props tomdxw for reporting the bug.

 Fixes #5205.
 }}}

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


More information about the buddypress-trac mailing list