User login

BUEditor preventing firefox from reloading text in textarea following use of back button

[I'm not entirely clear what causes this and when, and yes, i should be writing outside the browser-- but without this problem, Firefox is rock solid about not losing information.]

When clicking a link and then going back, or pressing a the back button and then the forward button, the text in BUEditor-enabled textfields is getting blanked out.

I think this is site-specific because it hasn't bugged me before, and i see no other reports, but for the moment BUEditor is disabled from this (Drupal 6) site.

http://drupal.org/project/bueditor

Searched words: 
Issues for BUEditor causes text not load browser back browser refresh browser back loses data field emptied open atrium loses data browser browser navigation loses content open atrium

Comments

Specific to editors containing text buttons

This happens only when there is a text button in the editor.

Firefox has a strange bug where the textarea content is reset on going back/forward if an input field(button, text, radio, checkbox) is inserted into the form before the textarea by javascript. This does not happen if the input field is inserted after the textarea or if the input field is an image.

A workaround is to set all the buttons of the editor as images.

it turned out to be a jquery bug

Further testing revealed that it's a bug with jQuery1.3.2 or earlier.
https://bugzilla.mozilla.org/show_bug.cgi?id=209292#c32

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.