[Bps-public-commit] rt-extension-assets branch, master, updated. 1.0rc2-1-gdbbf040

Alex Vandiver alexmv at bestpractical.com
Wed Feb 26 11:55:33 EST 2014


The branch, master has been updated
       via  dbbf0409d4c6d44118433b94eb5e3a785b671f7d (commit)
      from  bfea1adb60a29b005b1635264c706194d65d26e1 (commit)

Summary of changes:
 html/Asset/Modify.html       | 2 ++
 html/Asset/ModifyCFs.html    | 2 ++
 html/Asset/ModifyDates.html  | 2 ++
 html/Asset/ModifyLinks.html  | 2 ++
 html/Asset/ModifyPeople.html | 2 ++
 5 files changed, 10 insertions(+)

- Log -----------------------------------------------------------------
commit dbbf0409d4c6d44118433b94eb5e3a785b671f7d
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Feb 26 11:55:28 2014 -0500

    Add additional callbacks on Modify pages

diff --git a/html/Asset/Modify.html b/html/Asset/Modify.html
index 2c47d28..f760268 100644
--- a/html/Asset/Modify.html
+++ b/html/Asset/Modify.html
@@ -76,6 +76,8 @@ $DisplayAfter   => 0
 my $asset = LoadAsset($id);
 my @results;
 
+$m->callback( Asset => $asset, ARGSRef => \%ARGS, Update => \$Update, results => \@results );
+
 if ($Update) {
     my $skip_update = 0;
     my @attributes  = $asset->WritableAttributes;
diff --git a/html/Asset/ModifyCFs.html b/html/Asset/ModifyCFs.html
index d1fda52..41728ca 100755
--- a/html/Asset/ModifyCFs.html
+++ b/html/Asset/ModifyCFs.html
@@ -78,6 +78,8 @@ $CFs->LimitToGrouping($asset => $Grouping);
 Abort(loc("No custom fields found for grouping '[_1]'", $Grouping))
     if $Grouping and not $CFs->Count;
 
+$m->callback( Asset => $asset, ARGSRef => \%ARGS, Update => \$Update, results => \@results );
+
 if ($Update) {
     my ($cf_ok, @cf_errors) = $m->comp(
         '/Elements/ValidateCustomFields',
diff --git a/html/Asset/ModifyDates.html b/html/Asset/ModifyDates.html
index 642471d..8ca0f3e 100755
--- a/html/Asset/ModifyDates.html
+++ b/html/Asset/ModifyDates.html
@@ -66,6 +66,8 @@
 my $asset = LoadAsset($id);
 my @results;
 
+$m->callback( Asset => $asset, ARGSRef => \%ARGS, Update => \$Update, results => \@results );
+
 if ($Update) {
     my $CFs = $asset->CustomFields;
     $CFs->LimitToGrouping($asset => "Dates");
diff --git a/html/Asset/ModifyLinks.html b/html/Asset/ModifyLinks.html
index 02f2e0b..ad95b8f 100755
--- a/html/Asset/ModifyLinks.html
+++ b/html/Asset/ModifyLinks.html
@@ -66,6 +66,8 @@
 my $asset = LoadAsset($id);
 my @results;
 
+$m->callback( Asset => $asset, ARGSRef => \%ARGS, Update => \$Update, results => \@results );
+
 if ($Update) {
     my $CFs = $asset->CustomFields;
     $CFs->LimitToGrouping($asset => "Links");
diff --git a/html/Asset/ModifyPeople.html b/html/Asset/ModifyPeople.html
index 334dde1..e46bb48 100755
--- a/html/Asset/ModifyPeople.html
+++ b/html/Asset/ModifyPeople.html
@@ -76,6 +76,8 @@
 my $asset = LoadAsset($id);
 my @results;
 
+$m->callback( Asset => $asset, ARGSRef => \%ARGS, Update => \$Update, results => \@results );
+
 if ($Update) {
     my $CFs = $asset->CustomFields;
     $CFs->LimitToGrouping($asset => "People");

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



More information about the Bps-public-commit mailing list