Permalink
Browse files

updated TODO, cs

  • Loading branch information...
1 parent 0ebf3db commit 76fddb688db0a14843cb3d8142dad9636bd062a2 @elHornair elHornair committed Mar 1, 2013
Showing with 3 additions and 4 deletions.
  1. +2 −2 Admin/ContainerBlockAdmin.php
  2. +1 −2 Admin/MinimalSlideshowAdmin.php
View
4 Admin/ContainerBlockAdmin.php
@@ -30,8 +30,8 @@ protected function configureFormFields(FormMapper $formMapper)
{
$formMapper
->with('form.group_general')
- ->add('parentDocument', 'doctrine_phpcr_odm_tree', array('root_node' => $this->contentRoot, 'choice_list' => array(), 'select_root_node' => true))
- ->add('name', 'text')
+ ->add('parentDocument', 'doctrine_phpcr_odm_tree', array('root_node' => $this->contentRoot, 'choice_list' => array(), 'select_root_node' => true))
+ ->add('name', 'text')
->end()
;
}
View
3 Admin/MinimalSlideshowAdmin.php
@@ -44,7 +44,6 @@ protected function configureFormFields(FormMapper $formMapper)
$formBuilder = $formMapper->getFormBuilder();
$formBuilder->addEventListener(FormEvents::POST_BIND, array($this, 'onPostBind'));
-
}
// reorder children according to the form data
@@ -59,7 +58,7 @@ public function onPostBind(FormEvent $event)
}
}
- // TODO: Deletion doesn't work yet -> do we need to manually delete?
+ // TODO: Item deletion doesn't work yet -> do we need to manually delete? Or does sonata call a certain method?
// TODO: Add doesn't work yet -> problem related to http://www.doctrine-project.org/jira/browse/PHPCR-98 ?
// TODO: or do we just have to add the name to the item/image?

0 comments on commit 76fddb6

Please sign in to comment.