Mercurial > hg > isophonics-drupal-site
diff core/modules/quickedit/js/quickedit.js @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/modules/quickedit/js/quickedit.js Mon Apr 23 09:33:26 2018 +0100 +++ b/core/modules/quickedit/js/quickedit.js Mon Apr 23 09:46:53 2018 +0100 @@ -162,7 +162,7 @@ var $entityElement = $(entityElementSelector); if (!$entityElement.length) { - throw 'Quick Edit could not associate the rendered entity field markup (with [data-quickedit-field-id="' + fieldID + '"]) with the corresponding rendered entity markup: no parent DOM node found with [data-quickedit-entity-id="' + entityID + '"]. This is typically caused by the theme\'s template for this entity type forgetting to print the attributes.'; + throw new Error('Quick Edit could not associate the rendered entity field markup (with [data-quickedit-field-id="' + fieldID + '"]) with the corresponding rendered entity markup: no parent DOM node found with [data-quickedit-entity-id="' + entityID + '"]. This is typically caused by the theme\'s template for this entity type forgetting to print the attributes.'); } var entityElement = $(fieldElement).closest($entityElement);