mirror of
https://github.com/gantry/gantry5.git
synced 2026-08-19 01:15:04 -05:00
Reverting change
This commit is contained in:
@@ -591,14 +591,6 @@ ready(function() {
|
||||
if (response.body.data.children) {
|
||||
layoutmanager.clear(particle.block, { save: false, dropLastGrid: !!response.body.data.children.length, emptyInherits: true });
|
||||
builder.recursiveLoad(response.body.data.children, builder.insert, 0, particle.getId());
|
||||
} else {
|
||||
if (response.body.data.type === 'section') {
|
||||
layoutmanager.clear(particle.block, {
|
||||
save: false,
|
||||
dropLastGrid: false,
|
||||
emptyInherits: true
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (particle.hasInheritance() && !response.body.data.inherit) {
|
||||
|
||||
Vendored
-8
@@ -3437,14 +3437,6 @@ ready(function() {
|
||||
if (response.body.data.children) {
|
||||
layoutmanager.clear(particle.block, { save: false, dropLastGrid: !!response.body.data.children.length, emptyInherits: true });
|
||||
builder.recursiveLoad(response.body.data.children, builder.insert, 0, particle.getId());
|
||||
} else {
|
||||
if (response.body.data.type === 'section') {
|
||||
layoutmanager.clear(particle.block, {
|
||||
save: false,
|
||||
dropLastGrid: false,
|
||||
emptyInherits: true
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (particle.hasInheritance() && !response.body.data.inherit) {
|
||||
|
||||
Reference in New Issue
Block a user