summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-10 02:08:09 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-10 02:08:26 -0400
commit97247cf18aa8e90fc06f53b5d48fe5254e7f9f46 (patch)
treef33e327c1a1b5b35cae5ed10a116985ad9da3dc8
parente4e4e933f210f0ef6ca3f740da411574aa61ace1 (diff)
downloadaskbot-97247cf18aa8e90fc06f53b5d48fe5254e7f9f46.tar.gz
askbot-97247cf18aa8e90fc06f53b5d48fe5254e7f9f46.tar.bz2
askbot-97247cf18aa8e90fc06f53b5d48fe5254e7f9f46.zip
increased a delay for the answer editor focus
-rw-r--r--askbot/doc/source/changelog.rst1
-rw-r--r--askbot/media/js/post.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/askbot/doc/source/changelog.rst b/askbot/doc/source/changelog.rst
index a99864c7..0d5981c6 100644
--- a/askbot/doc/source/changelog.rst
+++ b/askbot/doc/source/changelog.rst
@@ -3,6 +3,7 @@ Changes in Askbot
Development version
-------------------
+* Answer editor is "folded" by default. Editor buttons and options show on click.
* Management command `askbot_import_jive` to import data from Jive forums.
* Added possibility to choose editor for comments: plain text, or same as
editor used for the questions or answers: WMD or TinyMCE.
diff --git a/askbot/media/js/post.js b/askbot/media/js/post.js
index 514dfeab..19e843a8 100644
--- a/askbot/media/js/post.js
+++ b/askbot/media/js/post.js
@@ -2450,7 +2450,7 @@ FoldedEditor.prototype.getOpenHandler = function() {
me.getElement().addClass('unfolded');
if (editor) {
editor.focus();
- setTimeout(function() {editor.focus()}, 100);
+ setTimeout(function() {editor.focus()}, 300);
}
};
};