mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 14:16:13 +02:00
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:
@@ -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
|
||||
|
||||
@@ -114,7 +114,7 @@ module Redmine
|
||||
end
|
||||
|
||||
def move_possible?(project)
|
||||
!is_or_is_ancestor_of?(project)
|
||||
new_record? || !is_or_is_ancestor_of?(project)
|
||||
end
|
||||
|
||||
def lock_nested_set
|
||||
|
||||
Reference in New Issue
Block a user