Index: app/controllers/custom_fields_controller.rb
===================================================================
--- app/controllers/custom_fields_controller.rb	(Revision 2352)
+++ app/controllers/custom_fields_controller.rb	(Arbeitskopie)
@@ -35,6 +35,7 @@
     if request.post? and @custom_field.save
       flash[:notice] = l(:notice_successful_create)
       redirect_to :action => 'index', :tab => @custom_field.class.name
+      call_hook(:controller_custom_fields_new_after_save, :params => params, :custom_field => @custom_field)
     end
     @trackers = Tracker.find(:all, :order => 'position')
   end
@@ -44,6 +45,7 @@
     if request.post? and @custom_field.update_attributes(params[:custom_field])
       flash[:notice] = l(:notice_successful_update)
       redirect_to :action => 'index', :tab => @custom_field.class.name
+      call_hook(:controller_custom_fields_edit_after_save, :params => params, :custom_field => @custom_field)
     end
     @trackers = Tracker.find(:all, :order => 'position')
   end
