diff --git a/README.md b/README.md index 402a7f6..e90dbc9 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,10 @@ Warning: PHP versions 7.2 and older are deprecated, and will cause problems, unr Change Log ---------- +* 4.4, release 1 2024.01.03 + * New feature - Added the ability to copy & restore asynchronously. + * Improved backup & restore process. + * New upgrade will remove sharing cart items that doesn't have the backup files. * 4.3, release 2 2023.12.15 * Fixed sharing cart restore process. * Added moodle log when a sharing cart item got backup, restored or deleted. diff --git a/amd/src/script.js b/amd/src/script.js index b2cb36f..32a147d 100644 --- a/amd/src/script.js +++ b/amd/src/script.js @@ -23,6 +23,9 @@ define(['jquery', 'core/modal_factory', 'core/modal_events'], function($, ModalFactory, ModalEvents) { return { + /** + * @param {string} addMethod + */ init: function(addMethod) { $(document).ready(function() { diff --git a/block_sharing_cart.php b/block_sharing_cart.php index ea3b36d..56bc516 100644 --- a/block_sharing_cart.php +++ b/block_sharing_cart.php @@ -96,7 +96,11 @@ public function get_content() { /* Place the