Commit 34bf39b0 authored by Robert Lyon's avatar Robert Lyon
Browse files

Stopping a block from being 'eaten' when changing layout (Bug #1432635)



To test see bug report

Change-Id: I88069adce01c77a1009ac49bf61966524532ca44
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 6d1bb3d8
......@@ -2524,7 +2524,7 @@ class View {
$currentcol = 1;
}
if ($currentcol == $values['column']) {
$currentcol++; // don't redistrubute blocks here!
// don't redistrubute blocks here!
}
if (!array_key_exists($currentcol, $prevrowcolumnmax)) {
$prevrowcolumnmax[$currentcol] = $this->get_current_max_order($values['row']-1, $currentcol);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment