Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jstree actions #11

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open

Update jstree actions #11

wants to merge 44 commits into from

Conversation

XaBe20
Copy link
Contributor

@XaBe20 XaBe20 commented Jan 16, 2019

No description provided.

…de tree interface ) to be able to create a node in the root dir with contextMenu
Node selecting when refreshing working.
Upload asset data-url updating when refreshing.
- Rest api for deleting documents
- drag-and-drop

public function getForm()
{
// This method is not needed to delete entities.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method MUST return a FormInterface object


public function getFormHandler()
{
// This method is not needed to delete entities.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method MUST return a ApiFormHandler object


public function getManager()
{
return $this->get('kiboko_dam.document_manager.api');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pass the service in the DI


public function getFormHandler()
{
// This method is not needed to delete entities.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method MUST return a ApiFormHandler object


public function getForm()
{
// This method is not needed to delete entities.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method MUST return a FormInterface object

src/DAMBundle/Controller/DocumentNodeController.php Outdated Show resolved Hide resolved
@@ -44,6 +44,7 @@ public function __construct(FormInterface $form, RequestStack $requestStack, Ent
*/
public function process(Document $entity, DocumentNodeInterface $node)
{
//FIXME:: Implement FormHandlerInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix issue

$names->add($nameToApply);

$slugs = new ArrayCollection();
$slugs->add($nameToApply);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LocalizedFallbackValue MUST NOT be the same entity for both fields

// e.preventDefault();
// },false);

$(".drop-target").find('*').addBack().on(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check consequences of find('*') call


public function getManager()
{
return $this->get('kiboko.document_node_manager.api');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pass the service in the DI

src/DAMBundle/Controller/DocumentController.php Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants