From d76f4e90bc49e9dee5f97e66d161be03835e4989 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Wed, 21 Oct 2015 13:16:45 +0200 Subject: [PATCH] closes #295 --- actions/qvitter.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/actions/qvitter.php b/actions/qvitter.php index e01dcdd..6b41807 100644 --- a/actions/qvitter.php +++ b/actions/qvitter.php @@ -523,7 +523,23 @@ class QvitterAction extends ApiAction
-
+
arg('notice')) { + echo '
    '; + $notice = Notice::getKV('id', $this->arg('notice')); + if($notice instanceof Notice) { + $widget = new NoticeListItem($notice, $this); + $widget->show(); + $this->flush(); + } + echo '
'; + } + + Event::handle('QvitterHiddenHtml', array($this)); + + ?>