Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
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
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/RT/Extension/JSGantt.pm
lib/RT/Extension/JSGantt.pm
+2
-2
No files found.
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
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