Skip to content
This repository has been archived by the owner on Jan 5, 2018. It is now read-only.

Issue #2577529 by Primsi: Entity browser widget is disabling eb brows… #17

Merged
merged 1 commit into from Sep 30, 2015

Conversation

primsi
Copy link
Contributor

@primsi primsi commented Sep 30, 2015

…ers too

@@ -13,7 +13,7 @@
var $form = $(item.instance.element).parents('form');

if ($form.hasClass("dropzonejs-disable-submit")) {
var $submit = $form.find('[type=submit]');
var $submit = $form.find('[type=submit]').not('.tab');
Copy link
Member

Choose a reason for hiding this comment

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

Could we limit this the other way around? i.e. instead of "All submits but tabs." target "Dropzone submit and nothing else."

@slashrsm slashrsm merged commit 5ca686c into drupal-media:8.x-1.x Sep 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants