File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -528,7 +528,8 @@ sub _css_url_rewrite {
528
528
sub _concatenate_js {
529
529
return @_ unless CONCATENATE_ASSETS;
530
530
my ($sources ) = @_ ;
531
- return [] unless $sources && ref ($sources );
531
+ return [] unless $sources ;
532
+ $sources = ref ($sources ) ? $sources : [ $sources ];
532
533
533
534
my %files =
534
535
map {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
52
52
[% bugsummary FILTER html %]
53
53
[% END %]
54
54
[% PROCESS global/header.html.tmpl doc_section = "attachments.html#patchviewer"
55
- javascript_urls = "js/attachment.js"
55
+ javascript_urls = [ "js/attachment.js" ]
56
56
style_urls = ['skins/standard/attachment.css'] %]
57
57
[% ELSE %]
58
58
<html>
Original file line number Diff line number Diff line change 23
23
24
24
[% PROCESS global/header.html.tmpl
25
25
title = "Change Columns"
26
- javascript_urls = "js/change-columns.js"
26
+ javascript_urls = [ "js/change-columns.js" ]
27
27
onload = "initChangeColumns()"
28
28
%]
29
29
You can’t perform that action at this time.
0 commit comments