Hey,
Found a little bug in the javascript file: privatemsg-list.js
The current code is as follows:
$('#privatemsg-list #edit-operation').change(function () {
$('#edit-submit').click();
});
The "#edit-submit" id is not reliable because other forms on the page may cause it to be incremented ("edit-submit-2", etc.)
I have attached a patch that fixes this by making the following change:
$('#privatemsg-list #edit-operation').change(function () {
$('div.privatemsg-op-button input.form-submit').click();
});
Cheers!
| Comment | File | Size | Author |
|---|---|---|---|
| fix-privatemsg-list-js.patch | 556 bytes | te-brian |
Comments
Comment #1
berdirThanks, nice catch.
Commited to 6.x-2.x and 6.x-1.x.
Comment #2
te-brian commentedBTW, not to spam but I've been very impressed with the module so far. Most things actually work as advertised :)
We'll be doing some custom integration work and I'll see what can be contributed back as a standalone sub-module.
Comment #3
berdirThanks ;)
Feel free to contact me directly (using the contact form) to discuss your plans :)