[Bps-public-commit] RT-Extension-ActivityReports branch, include-time-in-default-end-date, updated. 1.03-2-g40c4ef2

Todd Wade todd at bestpractical.com
Tue Mar 4 16:00:23 EST 2014


The branch, include-time-in-default-end-date has been updated
       via  40c4ef2c04878a08be6a2064adb982579028281e (commit)
      from  69366894c0ef98b7ded2786cfaa4a915de51c388 (commit)

Summary of changes:
 html/Reports/Activity/Elements/LimitReport | 4 ++--
 html/Reports/Activity/index.html           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 40c4ef2c04878a08be6a2064adb982579028281e
Author: Todd Wade <todd at bestpractical.com>
Date:   Tue Mar 4 15:58:44 2014 -0500

    fix deprecation warnings

diff --git a/html/Reports/Activity/Elements/LimitReport b/html/Reports/Activity/Elements/LimitReport
index 979f42f..21b4b15 100644
--- a/html/Reports/Activity/Elements/LimitReport
+++ b/html/Reports/Activity/Elements/LimitReport
@@ -5,7 +5,7 @@ Query:
 Report type: <select name="ReportType">
 <option value="ActivityDetail" <% $ReportType =~ /ActivityDetail/ ? 'selected' : '' %>>Activity detail</option>
 <option value="ActivitySummary" <% $ReportType =~ /ActivitySummary/ ? 'selected' : '' %>>Activity summary</option>
-<& /Elements/Callback, _CallbackName => 'AddReports', %ARGS &>
+% $m->callback( %ARGS, CallbackName => 'AddReports' );
 <option value="ResolutionComments" <% $ReportType =~ /ResolutionComments/ ? 'selected' : '' %>>Resolution comments</option>
 <option value="ResolutionStatistics" <% $ReportType =~ /ResolutionStatistics/ ? 'selected' : '' %>>Resolution statistics</option>
 <option value="WorkedStatistics" <% $ReportType =~ /WorkedStatistics/ ? 'selected' : '' %>>Time worked statistics</option>
@@ -14,7 +14,7 @@ Report type: <select name="ReportType">
 Start date: <input type="text" name="Start" value="<% $Start %>" /><br />
 End date:   <input type="text" name="End"   value="<% $End   %>" /><br />
 Limit to user: <& /Elements/SelectOwner, Name => "Actor", ValueAttribute => 'Name', Default => $actor_obj->Id||0 &>
-<& /Elements/Callback, _CallbackName => 'AddOptions', %ARGS &>
+% $m->callback( %ARGS, CallbackName => 'AddOptions' );
 <& /Elements/Submit, Label => loc('Report') &>
 </form>
 <%args>
diff --git a/html/Reports/Activity/index.html b/html/Reports/Activity/index.html
index ecea9c9..5cbd165 100644
--- a/html/Reports/Activity/index.html
+++ b/html/Reports/Activity/index.html
@@ -35,7 +35,7 @@ unless ($ARGS{End}) {
 
 $ARGS{show_print_link} = 0 unless $ReportType;
 
-$m->comp( '/Elements/Callback', _CallbackName => 'FlipInvoiced', %ARGS );
+$m->callback( CallbackName => 'FlipInvoiced', %ARGS );
 
 my $saved_search = $m->comp( '/Widgets/SavedSearch:new',
     SearchType   => 'ActivityReport',

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list