I'm using the latest Drupal version. I've opened the inbox and wanted to switch to the "Sent messages" folder using the "Current folder" drop down. But nothing happend. I'm still on the inbox page. I've tried it with Firefox 2.0.0.6 and IE 7.0.5730.11. Is there anybody having the same problem?
Greetz
BJ
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | js_0.patch | 919 bytes | kkaefer |
| #7 | privatemsg.module.070908.patch.txt | 1.03 KB | salvis |
| #2 | privatemsg.png | 15.02 KB | robertdouglass |
Comments
Comment #1
liam mcdermott commentedYes, am having the same problem in Opera 9.2. A workaround is to switch off Javascript (just press F12 and uncheck the box in Opera) and refresh the page. A nice HTML 'go' button will appear.
Comment #2
robertdouglass commentedConfirm in FF. I took a screenshot because my first thought was that the submit button is just missing.
Comment #3
liam mcdermott commentedIt's not missing IMO. The 'go' button is hidden as Javascript is supposed to submit the form when the user selects an item from the drop-down.
Comment #4
bjacob commentedA workaround would be to edit the file privatemsg.module. Then go to line 770 or search for the string :
$form['header']['go_folder'] = array(
There is a attribut parameter:
'#attributes' => array('class' => 'js-hide'),
Just comment it out and you'll see the Go button on the frontend.
Comment #5
TheFazz commentedsubscribe to issue:
i am facing the same problem on FF v2.
the "select" pulldown is ok, but the "current folder" pulldown isn't.
Comment #6
TheFazz commentedI've upgraded to the latest 2.x-dev dated 7 Sept 07 version and the pulldown still does not work.
Comment #7
salvischx probably plans to make the comboboxes auto-submit any changes, if JavaScript is enabled, but in the meantime the attached patch restores the buttons, as suggested by bjacob in #4.
Comment #8
kkaefer commentedComment #9
salvisYour patch goes only half the way: when you retrieve a folder from the browser's address bar, you get the active folder combobox, but when you change folders, the next page displays the buttons instead of active comboboxes. If you refresh the page, the buttons go away and the comboboxes become active again. This is on FF2.
Comment #10
kkaefer commentedsalvis, I have no idea what you mean.
Comment #11
salvisOk, I'll try again:
Current folder: {Inbox|v} Select: {-------|v} Filter: {All types|v}
Current folder: {Sent messages|v} Select: {-------|v} Filter: {All types|v}
(sometimes it works...)
Current folder: {Inbox|v} [Go] Select: {-------|v} Filter: {All types|v} [Filter]
The comboboxes are now inactive (i.e. you can change them as much as you like and nothing happens anymore until you click the [Go] or [Filter] buttons).
This is better than before, but I guess the goal is that #3 should look and work the same as #1...
Comment #12
kkaefer commentedI can't reproduce that. It's working fine on my machine. Maybe you still have some cached scripts?
Comment #13
salvisI cleared the cache and the problem persists.
The Error Console shows the following messages:
(Warning) Error in parsing value for property 'display'. Declaration dropped.
http://example.com/modules/system/defaults.css Line: 43
(Error) unterminated string literal
http://example.com/misc/jquery.js Line: 2
(Error) $ is not defined
http://example.com/modules/privatemsg/privatemsg.js Line: 4
(Error) $ is not defined
http://example.com/misc/textarea.js Line: 35
When I refresh the page, the buttons go away, and I get only the first message. This time I already got the buttons (and all four messages) at step #2, and I also got a fifth message:
(Error) $ is not defined
http://example.com/misc/tableselect.js Line: 4
I'm using FF 2.0.0.6 (on WinXP SP2) with the Firebug 1.05 add-on that shows me these messages.
Comment #14
kkaefer commentedYou messed with your jQuery. Get a fresh copy of it from a Drupal 5.x tarball.
Comment #15
salvisI messed with jQuery? No, definitely not. Do you mean misc/jquery.js?
That file is an exact copy of the one from http://ftp.drupal.org/files/projects/drupal-5.2.tar.gz.
Comment #16
chx commentedworks for me. salvis, if $ is not defined then something is very very broken on your end.
Comment #17
salvisYes, indeed. The one long line in jquery.js was truncated after about 15K, but it's about 19K long.
After splitting the line in two, the problem went away. I was even able to rejoin it, and the problem didn't come back. Go figure...
Sorry about the bogus report.
Comment #18
(not verified) commented