From b7ad1e82cc6b88346b06f178df425667bd95e2c3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 7 Jan 2015 22:18:58 +0000 Subject: Move always possible for new records. git-svn-id: http://svn.redmine.org/redmine/trunk@13846 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/nested_set/issue_nested_set.rb | 2 +- lib/redmine/nested_set/project_nested_set.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/redmine/nested_set/issue_nested_set.rb b/lib/redmine/nested_set/issue_nested_set.rb index eadc71161..17fae7f47 100644 --- a/lib/redmine/nested_set/issue_nested_set.rb +++ b/lib/redmine/nested_set/issue_nested_set.rb @@ -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 diff --git a/lib/redmine/nested_set/project_nested_set.rb b/lib/redmine/nested_set/project_nested_set.rb index 699927508..59ed3502f 100644 --- a/lib/redmine/nested_set/project_nested_set.rb +++ b/lib/redmine/nested_set/project_nested_set.rb @@ -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 -- cgit v1.2.3 e Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/app/views/reports/_details.html.erb
blob: ab660bc16817cdc000120fb6fb1244cb0857a788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97