1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-17 14:35:29 +02:00

MDL-64181 core: Ensure that self is included in parentage

This commit is contained in:
Andrew Nicols 2018-11-27 14:31:55 +08:00
parent 1add1cd644
commit 23e347bb32
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

@ -669,7 +669,7 @@ define([
// This promise will not be resolved until all child partials are also resolved and ready.
// We create it here to allow us to check for recursive inclusion of templates.
// Keep track of the requested partials in this chain.
parentage = parentage || [];
parentage = parentage || [searchKey];
cachePartialPromises[searchKey] = $.Deferred();