[Bps-public-commit] RT-Extension-ActivityReports branch, master, updated. 1.03-1-g92fa0eb

Todd Wade todd at bestpractical.com
Tue Mar 4 16:13:53 EST 2014


The branch, master has been updated
       via  92fa0eb5c63938950e8a1f458f12c2e5b152909d (commit)
      from  c2c13dc29b489f6793d7a6352abe29259a74d507 (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 92fa0eb5c63938950e8a1f458f12c2e5b152909d
Author: Todd Wade <todd at bestpractical.com>
Date:   Tue Mar 4 16:11:27 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 d8b71cb..f840c7b 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