Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt-extension-jsgantt
Commits
cecd16a0
Commit
cecd16a0
authored
Oct 27, 2011
by
sunnavy
Browse files
JSGanttOptions may not be defined
parent
6cf56486
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/RT/Extension/JSGantt.pm
View file @
cecd16a0
...
...
@@ -117,7 +117,7 @@ sub TicketsInfo {
my
(
@ids
,
%info
);
my
%options
=
RT
->
Config
->
Get
('
JSGanttOptions
');
my
%options
=
RT
->
Config
->
Get
('
JSGanttOptions
')
||
()
;
my
@colors
;
if
(
$options
{
ColorScheme
}
)
{
...
...
@@ -248,7 +248,7 @@ $start and $end are strings like 3/21/2011
sub
_GetTimeRange
{
my
(
$Ticket
,
%args
)
=
@_
;
my
%options
=
RT
->
Config
->
Get
('
JSGanttOptions
');
my
%options
=
RT
->
Config
->
Get
('
JSGanttOptions
')
||
()
;
# the, uh, long way
my
(
$start_obj
,
$start
)
=
_GetDate
(
$Ticket
,
'
Starts
',
'
Started
'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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