From 316c3b707bc79f0430bdee67709937bca7a839a0 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Fri, 28 Feb 2014 05:34:15 +0000 Subject: Bug 975112 - Add the "Preview" mode for "Optional Comment" in the Create New Attachement page r=glob,a=justdave --- template/en/default/attachment/edit.html.tmpl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'template/en/default/attachment/edit.html.tmpl') diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 54c7e07fb..283ca3676 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -247,13 +247,12 @@ [% classNames = 'block' %] [% classNames = "$classes bz_private" IF attachment.isprivate %] - [% INCLUDE global/textarea.html.tmpl - id = 'comment' - name = 'comment' - minrows = 10 - cols = 80 - wrap = 'soft' - classes = classNames + [% INCLUDE bug/comment.html.tmpl + bug = attachment.bug + minrows = 10 + cols = 80 + classes = classNames + wrap = 'soft' %] [% IF NOT attachment.bug.cc.contains(user.login) %]