Adapts modified AAJ interface

pull/312/head
Hagen Schink 11 years ago
parent c7c51c53b7
commit 41f50d4e36
  1. 4
      app/controllers/work_packages/moves_controller.rb

@ -28,7 +28,9 @@ class WorkPackages::MovesController < ApplicationController
moved_work_packages = []
@work_packages.each do |work_package|
work_package.reload
work_package.init_journal(User.current, @notes || "")
JournalManager.add_journal work_package, User.current, @notes || ""
call_hook(:controller_work_packages_move_before_save, { :params => params, :work_package => work_package, :target_project => @target_project, :copy => !!@copy })
if r = work_package.move_to_project(@target_project, new_type, {:copy => @copy, :attributes => extract_changed_attributes_for_move(params)})
moved_work_packages << r

Loading…
Cancel
Save