This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +18
-13
lines changed Expand file tree Collapse file tree 3 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -40,23 +40,14 @@ protected function configureListFields(ListMapper $listMapper)
40
40
;
41
41
}
42
42
43
- protected function isSubjectNotNew ()
44
- {
45
- return $ this ->hasSubject () && null !== $ this ->getSubject ()->getId ();
46
- }
47
-
48
43
/**
49
44
* {@inheritDoc}
50
45
*/
51
46
protected function configureFormFields (FormMapper $ formMapper )
52
47
{
53
48
$ formMapper
54
49
->with ('form.group_general ' )
55
- ->add ('name ' , 'text ' ,
56
- $ this ->isSubjectNotNew () ? array (
57
- 'attr ' => array ('readonly ' => 'readonly ' )
58
- ) : array ()
59
- )
50
+ ->add ('name ' , 'text ' )
60
51
->add ('label ' , 'text ' )
61
52
->end ()
62
53
;
Original file line number Diff line number Diff line change @@ -31,9 +31,7 @@ public function configureFormFields(FormMapper $formMapper)
31
31
->add (
32
32
'menuNodes ' ,
33
33
'sonata_type_collection ' ,
34
- array (
35
- 'by_reference ' => false ,
36
- ),
34
+ array (),
37
35
array (
38
36
'edit ' => 'inline ' ,
39
37
'inline ' => 'table ' ,
Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 1.0.1
5
+ -----
6
+
7
+ * ** 2013-10-29** : Fix MenuNodeReferrersExtension to also work when adding an
8
+ additional menu item if there already exists one. Allow to edit the menu item
9
+ name even after creation as in all other admins - this prevented adding
10
+ another menu item in the menu tab created by the admin extension. If you want
11
+ the old behaviour back, extend the admin and change the definition of the
12
+ ` name ` field, adding back what is removed in the pull request
13
+ https://github.com/symfony-cmf/MenuBundle/pull/157
14
+
15
+ 1.0.0
16
+ -----
17
+
18
+ First stable release.
19
+
4
20
1.0.0-RC4
5
21
---------
6
22
You can’t perform that action at this time.
0 commit comments