diff --git a/js/js.js b/js/js.js index d287267..7b22dd2 100644 --- a/js/js.js +++ b/js/js.js @@ -82,7 +82,12 @@ } }; - + Drupal.behaviors.article_collection_copier = { +- attach: function attach(context, settings) { +- +- $('.field--name-field-collection').appendTo("#toc-sections ol"); +- } +- }; Drupal.behaviors.article_keyword_copier = { attach: function attach(context, settings) { diff --git a/src/js/js.js b/src/js/js.js index d287267..7b22dd2 100644 --- a/src/js/js.js +++ b/src/js/js.js @@ -82,7 +82,12 @@ } }; - + Drupal.behaviors.article_collection_copier = { +- attach: function attach(context, settings) { +- +- $('.field--name-field-collection').appendTo("#toc-sections ol"); +- } +- }; Drupal.behaviors.article_keyword_copier = { attach: function attach(context, settings) {