summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/main.inc2
-rw-r--r--program/js/editor.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 3489928cd..3f502753e 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1377,7 +1377,7 @@ function rcube_html_editor($mode='')
'skin_path' => $RCMAIL->output->get_skin_path(),
'spellcheck' => intval($RCMAIL->config->get('enable_spellcheck')),
'spelldict' => intval($RCMAIL->config->get('spellcheck_dictionary')),
- ))), 'foot');
+ ))), 'docready');
}
diff --git a/program/js/editor.js b/program/js/editor.js
index ce3b38c0e..4adfe2b5d 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -107,7 +107,7 @@ function rcmail_editor_tabindex(focus)
if (textarea && node)
node.tabIndex = textarea.tabIndex;
if (focus)
- editor.getWin().focus();
+ editor.getBody().focus();
}
}
}