[Rt-commit] rt branch, 4.2/custom-field-values-csv, created. rt-4.2.12-95-g56c292f

Dustin Graves dustin at bestpractical.com
Tue Jan 5 19:40:34 EST 2016


The branch, 4.2/custom-field-values-csv has been created
        at  56c292f26aac3b052348684b49b7a0c8c9a7ca0f (commit)

- Log -----------------------------------------------------------------
commit 56c292f26aac3b052348684b49b7a0c8c9a7ca0f
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Wed Jan 6 00:38:55 2016 +0000

    add and modify callbacks to CustomFields Modify.html to support CF value CSV import/export

diff --git a/share/html/Admin/CustomFields/Modify.html b/share/html/Admin/CustomFields/Modify.html
index dab2843..904d3e4 100644
--- a/share/html/Admin/CustomFields/Modify.html
+++ b/share/html/Admin/CustomFields/Modify.html
@@ -156,12 +156,13 @@
 <& /Elements/Submit, Name => 'Update', Label => $id eq 'new'? loc('Create'): loc('Save Changes') &>
 
 </form>
+% $m->callback(%ARGS, CallbackName => 'EndOfPage', CustomFieldObj => $CustomFieldObj);
 <%INIT>
 my ($title, @results, $added_cfv);
 
 my $CustomFieldObj = RT::CustomField->new( $session{'CurrentUser'} );
 
-$m->callback(CallbackName => 'Initial', Pattern => \$Pattern, ARGSRef => \%ARGS);
+$m->callback(CallbackName => 'Initial', Pattern => \$Pattern, Results => \@results, ARGSRef => \%ARGS);
 
 unless ( $id ) {
     $title = loc("Create a CustomField");

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


More information about the rt-commit mailing list