Index: openacs-4/packages/xowiki/www/resources/repeat.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/resources/repeat.js,v diff -u -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/xowiki/www/resources/repeat.js 22 Mar 2019 13:16:42 -0000 1.4.2.1 +++ openacs-4/packages/xowiki/www/resources/repeat.js 13 Aug 2019 07:27:02 -0000 1.4.2.2 @@ -123,7 +123,7 @@ item.parentNode.style.display = 'block'; // ckeditor releoding - // we are selecting all ckeditor intances which are at the same level and below of the current item + // we are selecting all ckeditor instances which are at the same level and below of the current item // so we can be sure that in case of a compound field all editors are reloaded correctly // .xowiki-ckeditor --> normaler ckeditor // .xowiki-ckeditor.ckeip --> inplace editor @@ -256,7 +256,7 @@ var data_repeat_attribute = e.getAttribute('data-repeat'); if (data_repeat_attribute !== null) { // - // Replace the ID in the name compontent inside the json + // Replace the ID in the name component inside the json // structure. // var data = JSON.parse(data_repeat_attribute); @@ -354,7 +354,7 @@ // we have to reload because the ckeditor will not work after moving // additionally we have to set the content of the ckeditor in the textarea if (typeof CKEDITOR != "undefined") { - // we are selecting all ckeditor intances which are at the same level and below of the current item + // we are selecting all ckeditor instances which are at the same level and below of the current item for (var l in CKEDITOR.instances) { // console.log('instance name: ' + CKEDITOR.instances[l].name); var searchString = item.parentNode.id + k; @@ -387,10 +387,10 @@ } }; - // make sure add item link is visible + // Make sure add item link is visible $(item.parentNode).children(".repeat-add-link").show(); - // delet the node until we are reaching the minimum + // Delete the node until we are reaching the minimum if (stats['visible'] > data['min']) { // delete the last node divs[last].parentNode.removeChild(divs[last]); @@ -410,7 +410,7 @@ this.renameIds(divs[last],templateid,newid); // ckeditor releoding - // we are selecting all ckeditor intances which are at the same level and below of the current item + // we are selecting all ckeditor instances which are at the same level and below of the current item // so we can be sure that in case of a compound field all editors are reloaded correctly // .xowiki-ckeditor --> normaler ckeditor // .xowiki-ckeditor.ckeip --> inplace editor @@ -449,7 +449,7 @@ */ // ckeditor releoding - // we are selecting all ckeditor intances which are at the same level and below of the current item + // we are selecting all ckeditor instances which are at the same level and below of the current item // so we can be sure that in case of a compound field all editors are reloaded correctly // .xowiki-ckeditor --> normaler ckeditor // .xowiki-ckeditor.ckeip --> inplace editor