Author Topic: Issues hmail autoresponder + firefox?  (Read 4452 times)

Offline Monty

  • Newbie
  • *
  • Posts: 7
Issues hmail autoresponder + firefox?
« on: June 04, 2009, 06:49:58 PM »
Hello people,

A customer contacted me with a problem with the autoresponder plugin for hmail on roundcube.

It was not possible to "save" the autoresponder message; the message was typed in, the checkbox was checked and the settings were confirmed by clicking the save button. Then nothing really happens (no green box on top saying settings saved succesfully or something like that).

When looking in the autoresponder settings screen again, the autoresponder wasn't enabled and the message wasn't saved.

This only happens with firefox, no issues with internet explorer 7 & 8.
The weird part is that this worked for the exact same person with myroundcube and the autoresponder before the upgrade.

I use the latest available plugin atm (4th of June  2009). Could this be a firefox particular problem?
« Last Edit: June 04, 2009, 06:54:08 PM by Monty »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Issues hmail autoresponder + firefox?
« Reply #1 on: June 05, 2009, 12:52:05 AM »
Bug confirmed. Other hMailServer plugins are affected as well. Looks like Firefox does not like the method I use to submit the form by javascript after successful form validation. I will look into it this weekend and post here as soon as an update is online.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Monty

  • Newbie
  • *
  • Posts: 7
Issues hmail autoresponder + firefox?
« Reply #2 on: June 05, 2009, 03:04:40 AM »
Thanks for the quick confirmation!

I'll stay tuned at this thread. :)

The updated plugins will be available from the usual download location I assume?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Issues hmail autoresponder + firefox?
« Reply #3 on: June 05, 2009, 03:07:50 AM »
You can fix it yourself. Look into the plugin js file and replace ...

autoresponderform.submit();

... by ...

document.forms.autoresponderform.submit();

Not tested, but it should work (700i Webmaster Tips | Firefox Javascript and Form Submit).
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Monty

  • Newbie
  • *
  • Posts: 7
Issues hmail autoresponder + firefox?
« Reply #4 on: June 05, 2009, 05:19:16 PM »
I tested the solution and got confirmation that it works now!

Thanks for the help!
« Last Edit: June 05, 2009, 05:31:14 PM by Monty »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Issues hmail autoresponder + firefox?
« Reply #5 on: June 08, 2009, 01:49:03 PM »
Fixed version is online.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)