includes/clientside/tinymce/plugins/searchreplace/js/searchreplace.js
changeset 543 dffcbfbc4e59
parent 476 f26a69c40431
child 778 57ce13805b6f
--- a/includes/clientside/tinymce/plugins/searchreplace/js/searchreplace.js	Mon May 05 20:06:37 2008 -0400
+++ b/includes/clientside/tinymce/plugins/searchreplace/js/searchreplace.js	Mon May 05 20:08:44 2008 -0400
@@ -7,6 +7,9 @@
 		this.switchMode(m);
 
 		f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string");
+
+		// Focus input field
+		f[m + '_panel_searchstring'].focus();
 	},
 
 	switchMode : function(m) {