mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00: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:
parent
dcda9977e3
commit
b7ad1e82cc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user