Modify

Opened 5 years ago

Last modified 5 years ago

#7163 new defect

Not work the Back button in Opera 10.10

Reported by: StasAgarkov Owned by: jun66j5
Priority: normal Component: TracWysiwygPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

At the Opera 10.10 the plugin TracWysiwygPlugin during the open to a ticket page does not work the Back button in browser. You have to click it several times (usually three times) instead of one. We assume that the problem in code

d.open ();
d.write (html.join (""));
d.close ();

in function TracWysiwyg.prototype.initializeEditor When we commented out this code, then all was working correctly, except that in Wysiwyg mode, missing fonts.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by anonymous

possible the following code solve the problem

  • tracwysiwyg/htdocs/wysiwyg.js

     
    1313
    1414    var anonymous = document.createElement("div");
    1515    anonymous.innerHTML = '<iframe class="wysiwyg" '
    16         + 'src="javascript:\'\'" '
     16//        + 'src="javascript:\'\'" '
    1717        + 'width="100%" height="' + TracWysiwyg.getTextAreaHeight(textarea) + '" '
    1818        + 'frameborder="0" marginwidth="0" marginheight="0">'
    1919        + '</iframe>';

Add Comment

Modify Ticket

Action
as new The owner will remain jun66j5.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.