includes/clientside/tinymce/plugins/searchreplace/js/searchreplace.js
changeset 543 dffcbfbc4e59
parent 476 f26a69c40431
child 778 57ce13805b6f
equal deleted inserted replaced
542:5841df0ab575 543:dffcbfbc4e59
     5 		var f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
     5 		var f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
     6 
     6 
     7 		this.switchMode(m);
     7 		this.switchMode(m);
     8 
     8 
     9 		f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string");
     9 		f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string");
       
    10 
       
    11 		// Focus input field
       
    12 		f[m + '_panel_searchstring'].focus();
    10 	},
    13 	},
    11 
    14 
    12 	switchMode : function(m) {
    15 	switchMode : function(m) {
    13 		var f, lm = this.lastMode;
    16 		var f, lm = this.lastMode;
    14 
    17