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

This commit is contained in:
Andrew Nicols
2018-11-27 14:42:52 +08:00
parent c9cd95223a
commit 8a5095d453
2 changed files with 2 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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();