Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
dropzonejs
Commits
7a45ffbd
Commit
7a45ffbd
authored
Nov 04, 2015
by
Janez Urevc
Browse files
by slashrsm: Chase entity browser.
parent
2837e782
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php
View file @
7a45ffbd
...
...
@@ -168,7 +168,7 @@ class DropzoneJsEbWidget extends WidgetBase {
}
if
(
!
empty
(
array_filter
(
$files
)))
{
$this
->
selectEntities
(
$files
);
$this
->
selectEntities
(
$files
,
$form_state
);
$this
->
clearFormValues
(
$element
,
$form_state
);
}
}
...
...
modules/eb_widget/src/Plugin/EntityBrowser/Widget/MediaEntityDropzoneJsEbWidget.php
View file @
7a45ffbd
...
...
@@ -126,7 +126,7 @@ class MediaEntityDropzoneJsEbWidget extends DropzoneJsEbWidget {
}
if
(
!
empty
(
array_filter
(
$media_entities
)))
{
$this
->
selectEntities
(
$media_entities
);
$this
->
selectEntities
(
$media_entities
,
$form_state
);
$this
->
clearFormValues
(
$element
,
$form_state
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment