diff --git a/dotCMS/src/main/webapp/html/js/dotcms/dojo/data/TemplateReadStore.js b/dotCMS/src/main/webapp/html/js/dotcms/dojo/data/TemplateReadStore.js index 13f915ed4c5c..4e7dbe29fbbd 100644 --- a/dotCMS/src/main/webapp/html/js/dotcms/dojo/data/TemplateReadStore.js +++ b/dotCMS/src/main/webapp/html/js/dotcms/dojo/data/TemplateReadStore.js @@ -165,7 +165,7 @@ dojo.declare("dotcms.dojo.data.TemplateReadStore", null, { if (response.ok) { const result = await response.json(); - fetchItemByIdentityCallback(request, result.entity); // here we pass the result of the json response to the callback function + this.fetchItemByIdentityCallback(request, result.entity); // here we pass the result of the json response to the callback function } }).catch((e) => { console.log(e) // Here we can catch the error