diff --git a/scripts/h5peditor-list.js b/scripts/h5peditor-list.js index ffa2b11e..05ad9e1f 100644 --- a/scripts/h5peditor-list.js +++ b/scripts/h5peditor-list.js @@ -330,6 +330,15 @@ H5PEditor.List = (function ($) { return $.extend(true, {}, field.field); }; + /** + * Get copy of list's field semantics holding its configuration. + * + * @returns {Object} + */ + self.getConfig = function () { + return $.extend(true, {}, field); + }; + // Start the party! init(); }