Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In privatemsg-alternatives.js line 7
$('<a>
') is not valid, should be $('<a/>
') or $('<a></a>
')
most browsers will assume this anyway, but IE [10 and 11] do not.
Comment | File | Size | Author |
---|---|---|---|
#5 | privatemsg_unclosed_a_tag_in_privatemsg-alternatives.js-2141031-5.patch | 593 bytes | ptmkenny |
#2 | unclosed_a_tag_in_privatemsg-alternatives.js-2141031-0.patch | 538 bytes | finne |
Comments
Comment #1
finneThis results in the private message drupal message that allows you to choose a user when user ref has two identical names to be emptied in internet explorer 10 and 11, because the a tag is not valid. Attached patch solves this.
Comment #2
finneComment #4
BerdirNot sure what's wrong with the tests, but can be ignored as this is a JS only test that couldn't be tested anyway.
However, it would be great to have a patch for 7.x-2.x as well. Should be similar.
Comment #5
ptmkenny CreditAttribution: ptmkenny commentedHere's a patch for 7.x-2.x-dev.
Comment #6
System Lord CreditAttribution: System Lord commentedI patch manually. Can someone explain this? Thanks!
This is what it currently looks like (before the patch) for this file.
Comment #7
System Lord CreditAttribution: System Lord commentedI'm only aware of new patch lines beginning with "+". Does "\" mean something?
Comment #8
ptmkenny CreditAttribution: ptmkenny commentedThis is a standard git patch.
https://www.drupal.org/patch/apply
Comment #12
BerdirCommitted to 6.x-2.x and 7.x-2.x.