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:
parent
1add1cd644
commit
23e347bb32
lib/amd
2
lib/amd/build/templates.min.js
vendored
2
lib/amd/build/templates.min.js
vendored
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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user