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

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


The branch, include-time-in-default-end-date has been updated
       via  c773386d8229281d58ebec4eff9045f49689459f (commit)
      from  40c4ef2c04878a08be6a2064adb982579028281e (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 c773386d8229281d58ebec4eff9045f49689459f
Author: Todd Wade <todd at bestpractical.com>
Date:   Tue Mar 4 16:09:43 2014 -0500

    Revert "fix deprecation warnings"
    
    This reverts commit 40c4ef2c04878a08be6a2064adb982579028281e.

diff --git a/html/Reports/Activity/Elements/LimitReport b/html/Reports/Activity/Elements/LimitReport
index 21b4b15..979f42f 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>
-% $m->callback( %ARGS, CallbackName => 'AddReports' );
+<& /Elements/Callback, _CallbackName => 'AddReports', %ARGS &>
 <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 &>
-% $m->callback( %ARGS, CallbackName => 'AddOptions' );
+<& /Elements/Callback, _CallbackName => 'AddOptions', %ARGS &>
 <& /Elements/Submit, Label => loc('Report') &>
 </form>
 <%args>
diff --git a/html/Reports/Activity/index.html b/html/Reports/Activity/index.html
index 5cbd165..ecea9c9 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->callback( CallbackName => 'FlipInvoiced', %ARGS );
+$m->comp( '/Elements/Callback', _CallbackName => 'FlipInvoiced', %ARGS );
 
 my $saved_search = $m->comp( '/Widgets/SavedSearch:new',
     SearchType   => 'ActivityReport',

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



More information about the Bps-public-commit mailing list