Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / quickedit / js / quickedit.js
index 5c2cd95af065991544d6ed116b8c193eb5217600..4548c013a33f2b8d7001dbb4738441e5d05cdce2 100644 (file)
     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);