Opened 9 years ago

Closed 9 years ago

#1530 closed Bug (fixed)

"Replace" and "Replace All" buttons are disabled

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

Description (last modified by martinkou)

  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 martinkou 9 years ago.
1530_2.patch (2.1 KB) - added by martinkou 9 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 9 years ago by w.olchawa

  • Keywords Confirmed added; replace removed

Confirmed in IE, IE7 and FF2

comment:2 Changed 9 years ago by martinkou

  • Description modified (diff)

Tidied up the description.

comment:3 Changed 9 years ago by martinkou

  • Owner set to martinkou
  • Status changed from new to assigned

comment:4 Changed 9 years ago by martinkou

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 9 years ago by alfonsoml

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

Changed 9 years ago by martinkou

comment:6 Changed 9 years ago by martinkou

  • Keywords Review? added

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

comment:7 Changed 9 years ago by martinkou

  • Milestone set to FCKeditor 2.6

Changed 9 years ago by martinkou

comment:8 Changed 9 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:9 Changed 9 years ago by martinkou

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [1521].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy