Ticket #1530: 1530_2.patch
File 1530_2.patch, 2.1 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
93 93 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor 94 94 was entering on looping on some specific cases when dealing with invalid source 95 95 markup.</li> 96 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1530">#1530</a>] Pasting text into the 97 "Find what" fields in the Find and Replace dialog would now activate the find and replace 98 buttons.</li> 96 99 </ul> 97 100 <p> 98 101 <a href="_whatsnew_history.html">See previous versions history</a> -
editor/dialog/fck_replace.html
95 95 SelectField( 'txtFind' + dialogArguments.CustomValue ) ; 96 96 } 97 97 98 function btnStat( frm)98 function btnStat() 99 99 { 100 100 document.getElementById('btnReplace').disabled = 101 101 document.getElementById('btnReplaceAll').disabled = … … 103 103 ( document.getElementById(idMap["FindText"]).value.length == 0 ) ; 104 104 } 105 105 106 function btnStatDelayed() 107 { 108 setTimeout( btnStat, 1 ) ; 109 } 110 106 111 function GetSearchString() 107 112 { 108 113 return document.getElementById(idMap['FindText']).value ; … … 441 446 Find what:</label> 442 447 </td> 443 448 <td width="100%"> 444 <input id="txtFindFind" onkeyup="btnStat( this.form)" style="width: 100%" tabindex="1"449 <input id="txtFindFind" onkeyup="btnStat()" oninput="btnStat()" onpaste="btnStatDelayed()" style="width: 100%" tabindex="1" 445 450 type="text" /> 446 451 </td> 447 452 <td> … … 468 473 Find what:</label> 469 474 </td> 470 475 <td width="100%"> 471 <input id="txtFindReplace" onkeyup="btnStat( this.form)" style="width: 100%" tabindex="1"476 <input id="txtFindReplace" onkeyup="btnStat()" oninput="btnStat()" onpaste="btnStatDelayed()" style="width: 100%" tabindex="1" 472 477 type="text" /> 473 478 </td> 474 479 <td>