Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
0eb69045
Commit
0eb69045
authored
Nov 24, 2014
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1102003: The URL and status whiteboard fields display ARRAY(...) instead of real data
r=dkl a=glob
parent
8155a938
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
008filter.t
t/008filter.t
+1
-1
edit.html.tmpl
template/en/default/bug/edit.html.tmpl
+5
-10
header.html.tmpl
template/en/default/global/header.html.tmpl
+1
-1
No files found.
t/008filter.t
View file @
0eb69045
...
@@ -212,7 +212,7 @@ sub directive_ok {
...
@@ -212,7 +212,7 @@ sub directive_ok {
return 1 if $directive =~ /FILTER\ (html|csv|js|base64|css_class_quote|ics|
return 1 if $directive =~ /FILTER\ (html|csv|js|base64|css_class_quote|ics|
quoteUrls|time|uri|xml|lower|html_light|
quoteUrls|time|uri|xml|lower|html_light|
obsolete|inactive|closed|unitconvert|
obsolete|inactive|closed|unitconvert|
txt|html_linebreak|markdown|none)\b/x;
txt|html_linebreak|markdown|none
|null
)\b/x;
return 0;
return 0;
}
}
...
...
template/en/default/bug/edit.html.tmpl
View file @
0eb69045
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
accesskey = "s"
accesskey = "s"
tag_name = 'span'
tag_name = 'span'
%]
%]
[%
PROCESS
input inputname => "short_desc" size => "80"
[%
INCLUDE
input inputname => "short_desc" size => "80"
maxlength => 255 spellcheck => "true" no_td => 1 %]
maxlength => 255 spellcheck => "true" no_td => 1 %]
</div>
</div>
</div>
</div>
...
@@ -500,7 +500,7 @@
...
@@ -500,7 +500,7 @@
(<a href="#" id="bz_url_edit_action">edit</a>)</span>
(<a href="#" id="bz_url_edit_action">edit</a>)</span>
[% END %]
[% END %]
<span id="bz_url_input_area">
<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)
[% IF NOT bug.check_can_change_field("bug_file_loc", 0, 1)
AND is_safe_url(bug.bug_file_loc) %]
AND is_safe_url(bug.bug_file_loc) %]
<a href="[% bug.bug_file_loc FILTER html %]">[% url_output FILTER none %]</a>
<a href="[% bug.bug_file_loc FILTER html %]">[% url_output FILTER none %]</a>
...
@@ -527,7 +527,7 @@
...
@@ -527,7 +527,7 @@
editable = 1
editable = 1
accesskey = "w"
accesskey = "w"
%]
%]
[%
PROCESS
input inputname => "status_whiteboard" size => "40" colspan => 2 %]
[%
INCLUDE
input inputname => "status_whiteboard" size => "40" colspan => 2 %]
</tr>
</tr>
[% END %]
[% END %]
...
@@ -1214,7 +1214,7 @@
...
@@ -1214,7 +1214,7 @@
[% IF no_td != 1 %]
[% IF no_td != 1 %]
<td[% " colspan=\"$colspan\"" IF colspan %]>
<td[% " colspan=\"$colspan\"" IF colspan %]>
[% END %]
[% END %]
[% val =
value ? value :
bug.$inputname %]
[% val = bug.$inputname %]
[% IF bug.check_can_change_field(inputname, 0, 1) %]
[% IF bug.check_can_change_field(inputname, 0, 1) %]
<input id="[% inputname %]" name="[% inputname %]" class="text_input"
<input id="[% inputname %]" name="[% inputname %]" class="text_input"
value="[% val FILTER html %]"[% " size=\"$size\"" IF size %]
value="[% val FILTER html %]"[% " size=\"$size\"" IF size %]
...
@@ -1232,13 +1232,8 @@
...
@@ -1232,13 +1232,8 @@
[% IF no_td != 1 %]
[% IF no_td != 1 %]
</td>
</td>
[% END %]
[% END %]
[% no_td = 0 %]
[% maxlength = 0 %]
[% colspan = 0 %]
[% size = 0 %]
[% value = undef %]
[% spellcheck = undef %]
[% END %]
[% END %]
[% BLOCK commit_button %]
[% BLOCK commit_button %]
[% IF user.id %]
[% IF user.id %]
<div class="knob-buttons">
<div class="knob-buttons">
...
...
template/en/default/global/header.html.tmpl
View file @
0eb69045
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
"js/jquery/ui/jquery-ui-structure-min.css",
"js/jquery/ui/jquery-ui-structure-min.css",
"js/jquery/ui/jquery-ui-theme-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 %]
[%# Add jQuery cookie support %]
[% jquery.push("cookie") %]
[% jquery.push("cookie") %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment