Bug 92726 - Exclude cloned_bug_id from bug entry templates

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1506 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2012-01-18 12:45:17 +00:00
parent 724480a403
commit 749521573d
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ Bugzilla::User::match_field ({
});
if (defined $cgi->param('maketemplate')) {
$vars->{'url'} = $cgi->canonicalise_query('token');
$vars->{'url'} = $cgi->canonicalise_query('token', 'cloned_bug_id', 'cloned_comment');
$vars->{'short_desc'} = $cgi->param('short_desc');
$template->process("bug/create/make-template.html.tmpl", $vars)

View File

@ -749,11 +749,11 @@ TUI_hide_default('expert_fields');
<input tabindex="10" type="submit" id="commit" value="Submit [% terms.Bug %]"
onclick="if (this.form.short_desc.value == '')
{ alert('Please enter a summary sentence for this [% terms.bug %].');
return false; } return Create_onsubmit();">
return false; } return Create_onsubmit();" />
&nbsp;&nbsp;&nbsp;&nbsp;
<input tabindex="10" type="submit" name="maketemplate" id="maketemplate"
value="Remember values as bookmarkable template"
class="expert_fields">
class="expert_fields" />
</td>
</tr>
</tbody>