equal
deleted
inserted
replaced
1 /** |
1 /** |
2 * $Id: editor_plugin_src.js 591 2008-02-12 17:32:21Z spocke $ |
2 * $Id: editor_plugin_src.js 686 2008-03-09 18:13:49Z spocke $ |
3 * |
3 * |
4 * @author Moxiecode |
4 * @author Moxiecode |
5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. |
5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. |
6 */ |
6 */ |
7 |
7 |
11 function open(m) { |
11 function open(m) { |
12 ed.windowManager.open({ |
12 ed.windowManager.open({ |
13 file : url + '/searchreplace.htm', |
13 file : url + '/searchreplace.htm', |
14 width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), |
14 width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), |
15 height : 160 + parseInt(ed.getLang('searchreplace.delta_height', 0)), |
15 height : 160 + parseInt(ed.getLang('searchreplace.delta_height', 0)), |
16 inline : 1 |
16 inline : 1, |
|
17 auto_focus : 0 |
17 }, { |
18 }, { |
18 mode : m, |
19 mode : m, |
19 search_string : ed.selection.getContent({format : 'text'}), |
20 search_string : ed.selection.getContent({format : 'text'}), |
20 plugin_url : url |
21 plugin_url : url |
21 }); |
22 }); |