projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada4910
)
Set focus after setting body text
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 6 Jan 2011 18:37:12 +0000
(11:37 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 6 Jan 2011 18:37:12 +0000
(11:37 -0700)
imp/js/compose-dimp.js
patch
|
blob
|
history
diff --git
a/imp/js/compose-dimp.js
b/imp/js/compose-dimp.js
index
116c101
..
2c00148
100644
(file)
--- a/
imp/js/compose-dimp.js
+++ b/
imp/js/compose-dimp.js
@@
-558,8
+558,6
@@
var DimpCompose = {
this.processFwdList(opts.fwd_list);
- Field.focus(opts.focus || 'to');
-
switch (opts.auto) {
case 'forward_attach':
$('noticerow', 'fwdattachnotice').invoke('show');
@@
-582,6
+580,8
@@
var DimpCompose = {
this.setBodyText(msg);
this.resizeMsgArea();
+ Field.focus(opts.focus || 'to');
+
if (DIMP.conf_compose.show_editor || opts.show_editor) {
if (!IMP_Compose_Base.editor_on) {
this.toggleHtmlEditor(opts.noupdate);