X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..133a8f939cdfa69dd6a7caeafed158aa38d20092:/forum/skins/default/templates/question_edit.html?ds=sidebyside
diff --git a/forum/skins/default/templates/question_edit.html b/forum/skins/default/templates/question_edit.html
index fe71184..2fec6c0 100644
--- a/forum/skins/default/templates/question_edit.html
+++ b/forum/skins/default/templates/question_edit.html
@@ -4,9 +4,6 @@
{% load extra_tags %}
{% block title %}{% spaceless %}{% trans "Edit question" %}{% endspaceless %}{% endblock %}
{% block forejs %}
-
-
-
@@ -16,10 +13,7 @@
$("#nav_questions").attr('className',"on");
$('#editor').TextAreaResizer();
- //highlight code synctax when editor has new text
- $("#editor").typeWatch({highlight: false, wait: 3000,
- captureLength: 5, callback: lanai.highlightSyntax});
-
+
//toggle preview of editor
var display = true;
var txt = "[{% trans "hide preview" %}]";
@@ -48,15 +42,12 @@
return row.n;
}
- });
-
- setupFormValidation("#fmedit", CPValidator.getQuestionFormRules(), CPValidator.getQuestionFormMessages());
-
+ });
+
$('#id_revision').unbind().change(function(){
$("#select_revision").click();
});
- lanai.highlightSyntax();
-
+
});
{% endblock %}