Commit 56b9fc14 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Attachments expander in note block not working after ajaxify patch (Bug #1424512)"

parents 8432197e b00555fa
......@@ -64,6 +64,7 @@ class PluginBlocktypeTextbox extends PluginBlocktype {
list($commentcount, $comments) = ArtefactTypeComment::get_artefact_comments_for_view($artefact, $view, $instance->get('id'), true, $editing);
$smarty->assign('commentcount', $commentcount);
$smarty->assign('comments', $comments);
$smarty->assign('blockid', $instance->get('id'));
return $smarty->fetch('blocktype:textbox:content.tpl');
{if isset($attachments)}
<table class="cb attachments fullwidth">
<table class="cb attachments fullwidth" id="blockinstance-attachments-{$blockid}">
<thead class="expandable-head">
<td colspan="2">
......@@ -27,3 +27,6 @@
<script type="application/javascript">
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment