From 15e68d2145caaea1039a962f34460fb164edb3c2 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Sat, 24 Mar 2018 21:23:56 -0700 Subject: [PATCH] enable web publishing without approval (#162) --- knowledge_repo/app/templates/post_editor_base.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/knowledge_repo/app/templates/post_editor_base.html b/knowledge_repo/app/templates/post_editor_base.html index 39f5569c9..61f7fad42 100644 --- a/knowledge_repo/app/templates/post_editor_base.html +++ b/knowledge_repo/app/templates/post_editor_base.html @@ -38,10 +38,7 @@

{{ path if path else 'New Knowledge Post' }} {% if status > 0 %} @@ -378,10 +375,9 @@

{{ comments | length }} Comments

} } }) - }) -if ( status == 2 || status == 3 ) { +if ( status > 0 ) { $("#btn_publish").on("click", function(){ var publish_button_text = this.textContent.trim(); var url = '';