diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-11-24 10:32:18 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-11-24 10:32:18 +0100 |
commit | 0eb69045b7a52fb4f8616be3ce16a98a83d35831 (patch) | |
tree | 94dc07ba96d46350e8069beac466dc4aa93b94e4 /template/en | |
parent | 8155a9389a4ab33f694fac5e08c6992ab89deac8 (diff) | |
download | bugzilla-0eb69045b7a52fb4f8616be3ce16a98a83d35831.tar.gz bugzilla-0eb69045b7a52fb4f8616be3ce16a98a83d35831.tar.xz |
Bug 1102003: The URL and status whiteboard fields display ARRAY(...) instead of real data
r=dkl a=glob
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 15 | ||||
-rw-r--r-- | template/en/default/global/header.html.tmpl | 2 |
2 files changed, 6 insertions, 11 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index a7674faf8..516a24ed8 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -205,7 +205,7 @@ accesskey = "s" tag_name = 'span' %] - [% PROCESS input inputname => "short_desc" size => "80" + [% INCLUDE input inputname => "short_desc" size => "80" maxlength => 255 spellcheck => "true" no_td => 1 %] </div> </div> @@ -500,7 +500,7 @@ (<a href="#" id="bz_url_edit_action">edit</a>)</span> [% END %] <span id="bz_url_input_area"> - [% url_output = PROCESS input no_td=1 inputname => "bug_file_loc" size => "40" colspan => 2 %] + [% url_output = INCLUDE input no_td=1 inputname => "bug_file_loc" size => "40" colspan => 2 %] [% IF NOT bug.check_can_change_field("bug_file_loc", 0, 1) AND is_safe_url(bug.bug_file_loc) %] <a href="[% bug.bug_file_loc FILTER html %]">[% url_output FILTER none %]</a> @@ -527,7 +527,7 @@ editable = 1 accesskey = "w" %] - [% PROCESS input inputname => "status_whiteboard" size => "40" colspan => 2 %] + [% INCLUDE input inputname => "status_whiteboard" size => "40" colspan => 2 %] </tr> [% END %] @@ -1214,7 +1214,7 @@ [% IF no_td != 1 %] <td[% " colspan=\"$colspan\"" IF colspan %]> [% END %] - [% val = value ? value : bug.$inputname %] + [% val = bug.$inputname %] [% IF bug.check_can_change_field(inputname, 0, 1) %] <input id="[% inputname %]" name="[% inputname %]" class="text_input" value="[% val FILTER html %]"[% " size=\"$size\"" IF size %] @@ -1232,13 +1232,8 @@ [% IF no_td != 1 %] </td> [% END %] - [% no_td = 0 %] - [% maxlength = 0 %] - [% colspan = 0 %] - [% size = 0 %] - [% value = undef %] - [% spellcheck = undef %] [% END %] + [% BLOCK commit_button %] [% IF user.id %] <div class="knob-buttons"> diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index dd1923f29..5c731c008 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -82,7 +82,7 @@ "js/jquery/ui/jquery-ui-structure-min.css", "js/jquery/ui/jquery-ui-theme-min.css", ] %] -[% undef = style_urls.import(jquery_css, jq_css_urls) %] +[% style_urls.import(jquery_css, jq_css_urls) FILTER null %] [%# Add jQuery cookie support %] [% jquery.push("cookie") %] |