X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FQnA%2Flib%2Fqnashowquestionform.php;h=9ef7a9e4c9b7a81d8336b24bd537b5cb675eb7b4;hb=583b903559bea750b36f04805ecd42802d4a4367;hp=27abd42757fc3404f7c398a4f6c4226ccbeca61c;hpb=8cfb81deac0c63787220909995b606fcb1300f59;p=quix0rs-gnu-social.git diff --git a/plugins/QnA/lib/qnashowquestionform.php b/plugins/QnA/lib/qnashowquestionform.php index 27abd42757..9ef7a9e4c9 100644 --- a/plugins/QnA/lib/qnashowquestionform.php +++ b/plugins/QnA/lib/qnashowquestionform.php @@ -119,6 +119,15 @@ class QnashowquestionForm extends Form 'id' ); + $this->out->hidden( + 'answer-action', + common_local_url( + 'qnanewanswer', + null, + array('id' => 'question-' . $this->question->id) + ) + ); + $this->out->raw($this->question->asHTML()); } @@ -156,6 +165,6 @@ class QnashowquestionForm extends Form */ function formClass() { - return 'form_close ajax'; + return 'form_question_show ajax'; } }