Commit b8e43196 authored by Alex Vandiver's avatar Alex Vandiver
Browse files

Use RT 4.0/4.2 static content methods for CSS

The JavaScript contains mason (to decide on M/D/Y vs D/M/Y) and as such
cannot be served from static/ and squished.  The 4.2 solution would be
to place the preference in the JavaScript user configuration hash;
however, this is unsuitable for 4.0.
parent e4ef7bc4
......@@ -45,5 +45,4 @@
%# those contributions and any derivatives thereof.
<link rel="stylesheet" type="text/css" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/jsgantt.css"/>
<script language="javascript" src="<%RT->Config->Get('WebPath')%>/NoAuth/js/jsgantt.js"></script>
......@@ -128,6 +128,9 @@ use warnings;
use strict;
use List::MoreUtils 'insert_after', 'uniq';
# JS contains mason, and as such cannot use RT->AddJavaScript
=head2 AllRelatedTickets
Given a ticket, return all the relative tickets, including the original ticket.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment