Opened 17 years ago

Closed 16 years ago

#1530 closed Bug (fixed)

"Replace" and "Replace All" buttons are disabled

Reported by: tba21cn Owned by: Martin Kou
Priority: Normal Milestone: FCKeditor 2.6
Component: UI : Toolbar Version: FCKeditor 2.5 Beta
Keywords: Confirmed Review+ Cc:

Description (last modified by Martin Kou)

  1. Copy some text from FCKeditor
  2. Click "replace", and use mouse right click-> select paste (not ctr+v), to paste those text to the "Find what:" text input area

Notice that the "Replace" and "Replace All" buttons are still disabled (they should be enabled when text is in the "Find what:" text filed.

I thappens on both IE7 and FFx.

Attachments (2)

1530.patch (2.1 KB) - added by Martin Kou 16 years ago.
1530_2.patch (2.1 KB) - added by Martin Kou 16 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added; replace removed

Confirmed in IE, IE7 and FF2

comment:2 Changed 16 years ago by Martin Kou

Description: modified (diff)

Tidied up the description.

comment:3 Changed 16 years ago by Martin Kou

Owner: set to Martin Kou
Status: newassigned

comment:4 Changed 16 years ago by Martin Kou

This bug is not as easy as it seems. The onpaste event is available on IE, Safari, but not Firefox 2.x and Opera 9.50. onpaste is available in FF 3.0 beta but the Mozilla devs are still working on it Mozilla bug #280959.

Even DOMAttrModified doesn't seem to detect the mouse-pasted text. If all else fails we might need to use a polling loop to detect the new text.

comment:5 Changed 16 years ago by Alfonso Martínez de Lizarrondo

I can't test it right now, but I think that you can use the onInput event for those browsers.

Changed 16 years ago by Martin Kou

Attachment: 1530.patch added

comment:6 Changed 16 years ago by Martin Kou

Keywords: Review? added

Thanks for the hint, now this can be done simply.

comment:7 Changed 16 years ago by Martin Kou

Milestone: FCKeditor 2.6

Changed 16 years ago by Martin Kou

Attachment: 1530_2.patch added

comment:8 Changed 16 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:9 Changed 16 years ago by Martin Kou

Resolution: fixed
Status: assignedclosed

Fixed with [1521].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy