Skip to content
GitLab
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
d86be907
Commit
d86be907
authored
Sep 26, 2018
by
Cecilia Vela Gurovic
Browse files
Bug #1742347: show correct column width in timeline
behatnotneeded Change-Id: Id2ded987bc602e5c62c319866f726e4cd646f1cf
parent
e4747fa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/view.php
View file @
d86be907
...
...
@@ -7185,9 +7185,12 @@ class View {
}
$this
->
columnsperrow
=
$colsperrow
;
$this
->
columns
=
array
();
$layout
=
$this
->
get_layout
();
for
(
$i
=
1
;
$i
<=
$this
->
numrows
;
$i
++
)
{
$widths
=
explode
(
','
,
$layout
->
rows
[
$i
][
'widths'
]);
for
(
$j
=
1
;
$j
<=
$data
->
columnsperrow
->
{
$i
}
->
columns
;
$j
++
)
{
$this
->
columns
[
$i
][
$j
]
=
array
(
'blockinstances'
=>
array
());
$this
->
columns
[
$i
][
$j
][
'width'
]
=
$widths
[
$j
-
1
];
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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