equal
deleted
inserted
replaced
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 |