includes/clientside/tinymce/plugins/searchreplace/searchreplace.htm
changeset 543 dffcbfbc4e59
parent 459 31c23016ab62
child 1193 e3b94bd055dc
--- a/includes/clientside/tinymce/plugins/searchreplace/searchreplace.htm	Mon May 05 20:06:37 2008 -0400
+++ b/includes/clientside/tinymce/plugins/searchreplace/searchreplace.htm	Mon May 05 20:08:44 2008 -0400
@@ -10,7 +10,7 @@
 	<base target="_self" />
 </head>
 <body style="display:none;">
-<form onsubmit="return false;" action="#">
+<form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
 	<div class="tabs">
 		<ul>
 			<li id="search_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
@@ -91,7 +91,7 @@
 
 	<div class="mceActionPanel">
 		<div style="float: left">
-			<input type="button" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" onclick="SearchReplaceDialog.searchNext('none');" />
+			<input type="submit" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" />
 			<input type="button" class="button" id="replaceBtn" name="replaceBtn" value="{#searchreplace_dlg.replace}" onclick="SearchReplaceDialog.searchNext('current');" />
 			<input type="button" class="button" id="replaceAllBtn" name="replaceAllBtn" value="{#searchreplace_dlg.replaceall}" onclick="SearchReplaceDialog.searchNext('all');" />
 		</div>