Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
48adf067
Commit
48adf067
authored
Mar 30, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Mar 30, 2015
Browse files
Merge "Stopping a block from being 'eaten' when changing layout (Bug #1432635)"
parents
b13398fa
34bf39b0
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/lib/view.php
View file @
48adf067
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment