summaryrefslogtreecommitdiffstats
path: root/askbot/templates
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-29 04:38:51 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-29 04:38:51 -0400
commit0f2dc303750f3ddd88e911b0e4af9a497774036d (patch)
tree0431bbcecff2229fee92f6317f864d4986fc06f2 /askbot/templates
parent833fda3a725e547cfd22ccceb56c0b711e91f738 (diff)
downloadaskbot-0f2dc303750f3ddd88e911b0e4af9a497774036d.tar.gz
askbot-0f2dc303750f3ddd88e911b0e4af9a497774036d.tar.bz2
askbot-0f2dc303750f3ddd88e911b0e4af9a497774036d.zip
fixed the folded editor option on the ask page and allowed to go to a specific question by hitting enter when selection in the dropdown is made
Diffstat (limited to 'askbot/templates')
-rw-r--r--askbot/templates/widgets/ask_form.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/askbot/templates/widgets/ask_form.html b/askbot/templates/widgets/ask_form.html
index 3ddb07dd..1d5029f1 100644
--- a/askbot/templates/widgets/ask_form.html
+++ b/askbot/templates/widgets/ask_form.html
@@ -13,6 +13,7 @@
</div>
</div>
{% set editor_is_folded = (
+ settings.QUESTION_BODY_EDITOR_MODE == 'folded' and
settings.MIN_QUESTION_BODY_LENGTH == 0 and
form.text.value()|is_empty_editor_value()
)