Closed (fixed)
Project:
Entity Browser
Version:
8.x-1.x-dev
Component:
Field widget
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Jul 2016 at 20:56 UTC
Updated:
16 Aug 2016 at 08:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
leksat commentedHere is a working patch. Manually tested by me.
Comment #5
leksat commentedOh, EntityReference was renamed. Will reroll tomorrow.
Comment #6
leksat commentedRerolled against latest 8.x-1.x branch.
Comment #8
slashrsm commentedLooks great! Thank you for contributing to and using Entity browser.
Comment #9
mtodor commentedWith this patch, I get error when EB is used for field of media entity. When I try to add/edit media entity that uses field with EB, I get following error:
Uncaught TypeError: Cannot read property 'prototype' of undefinedfor:
Drupal.AjaxCommands.prototype.entity_browser_value_updated = function (ajax, response, status) {So possible solution is to add ajax dependency for: js/entity_browser.common.js, like I have provided in patch.
But in that case I'm not sure do we need defined dependencies in other parts of code:
I have attached zipped test module, so after it's installed just go to add media and error should be reproducible.
Comment #10
slashrsm commentedCommitted. Thanks!