includes/clientside/tinymce/plugins/searchreplace/js/searchreplace.js
changeset 476 f26a69c40431
parent 459 31c23016ab62
child 543 dffcbfbc4e59
--- a/includes/clientside/tinymce/plugins/searchreplace/js/searchreplace.js	Thu Mar 06 20:45:46 2008 -0500
+++ b/includes/clientside/tinymce/plugins/searchreplace/js/searchreplace.js	Thu Mar 06 20:47:11 2008 -0500
@@ -90,6 +90,10 @@
 		se.collapse(b);
 		r = se.getRng();
 
+		// Whats the point
+		if (!s)
+			return;
+
 		if (tinymce.isIE) {
 			if (r.findText(s, b ? -1 : 1, fl)) {
 				r.scrollIntoView();