Closed (duplicate)
Project:
Entity Browser - Table Layout
Version:
8.x-1.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Apr 2021 at 08:16 UTC
Updated:
26 Sep 2022 at 17:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gaurav_drupalProvided a patch, please review
Comment #3
gaurav_drupalComment #4
darienmh commentedFor version 8.x-1.2 work this
Comment #5
ricardochefigueroa commentedFor version 8.x-1.2
Comment #6
rescandon commentedThe patch is working and the console error is fixed
Comment #7
drews_manAlso, this patch fixes one more bug - when you add more than one table to the page. Only one table will work because this line of code get only the first table from DOM.
document.querySelector('.table--widget-entity_reference_browser_table_widget').querySelector('tbody').classList += ' entities-list sortable ui-sortable';I wrote another solution for my problem, but the solution from the patch I prefer more.
My solution:
Thanks, guys!
Comment #8
alphawebgroupThe patch can not be applied any more...
Comment #9
rutiolmaUpdated patch to use with latest version
Comment #10
rutiolmaIn fact, I believe we should close this one in favor of #3246565 which provides a better patch which addresses the same issue.