Fixed issue 221, scroll to the preview if exists.

This commit is contained in:
Mehdi Kabab
2009-05-26 11:48:02 +02:00
committed by Loic d'Anterroches
parent 2c9cf96245
commit 3476541bf4
6 changed files with 22 additions and 16 deletions

View File

@@ -11,14 +11,14 @@
{/if}
{if $preview}
<h2 class="top">{trans 'Preview'}</h2>
<h2 id="preview" class="top">{trans 'Preview'}</h2>
<div class="issue-comment issue-comment-first issue-comment-last">
<br /><pre class="issue-comment-text">{issuetext $preview, $request}</pre>
</div>
<hr />
{/if}
<form method="post" enctype="multipart/form-data" action="{url 'IDF_Views_Issue::create', array($project.shortname)}" >
<form method="post" enctype="multipart/form-data" action="{url 'IDF_Views_Issue::create', array($project.shortname)}#preview" >
<table class="form" summary="">
<tr>
<th><strong>{$form.f.summary.labelTag}:</strong></th>