Move always possible for new records.

git-svn-id: http://svn.redmine.org/redmine/trunk@13846 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-01-07 22:18:58 +00:00
parent dcda9977e3
commit b7ad1e82cc
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ module Redmine
end
def move_possible?(issue)
!is_or_is_ancestor_of?(issue)
new_record? || !is_or_is_ancestor_of?(issue)
end
def lock_nested_set