Last modified: 2008-08-17 12:47:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 14285 - Buttons don't work in 'Edit' window
Buttons don't work in 'Edit' window
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-05-27 08:14 UTC by Shuhrat Dehkanov
Modified: 2008-08-17 12:47 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Shuhrat Dehkanov 2008-05-27 08:14:15 UTC
WSWYG buttons don't work in Uzbek Wikipedia already since 2006. Please refer to Subtitle: Tahrir does not work for me!

Checked with Mozilla Firefox 2.x (MS Windows/Linux), MSIE6 and MSIE7 (MS Windows/Linux) - for none of them work.
Comment 1 Brion Vibber 2008-05-28 01:05:43 UTC
Here's your problem:

at ...

        editingTools.innerHTML = editingTools.innerHTML + StrikeTextButton;
        editingTools.innerHTML = editingTools.innerHTML + ShablonTextButton;

The use of innerHTML in this way wipes out the event handlers on all the buttons in Firefox. You should append these extra tools using DOM functions to avoid breaking them.
Comment 2 Siebrand Mazeland 2008-08-17 12:47:42 UTC
Mark RESOLVED. Solution explained in comment 1.

Note You need to log in before you can comment on or make changes to this bug.