Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
f8beffdd
Commit
f8beffdd
authored
Apr 09, 2009
by
Richard Mansfield
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for group view access in IE (bugs 3249, 3253)
parent
b146af16
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
htdocs/lib/db/upgrade.php
htdocs/lib/db/upgrade.php
+5
-0
htdocs/lib/version.php
htdocs/lib/version.php
+1
-1
htdocs/theme/default/templates/form/viewacl.tpl
htdocs/theme/default/templates/form/viewacl.tpl
+2
-2
No files found.
htdocs/lib/db/upgrade.php
View file @
f8beffdd
...
...
@@ -943,6 +943,11 @@ function xmldb_core_upgrade($oldversion=0) {
drop_table
(
$table
);
}
if
(
$oldversion
<
2009040900
)
{
// The view access page has been putting the string 'null' in as a group role in IE.
set_field
(
'view_access_group'
,
'role'
,
null
,
'role'
,
'null'
);
}
return
$status
;
}
...
...
htdocs/lib/version.php
View file @
f8beffdd
...
...
@@ -27,7 +27,7 @@
defined
(
'INTERNAL'
)
||
die
();
$config
=
new
StdClass
;
$config
->
version
=
20090
318
00
;
$config
->
version
=
20090
409
00
;
$config
->
release
=
'1.2.0dev'
;
$config
->
minupgradefrom
=
2008040200
;
$config
->
minupgraderelease
=
'1.0.0 (release tag 1.0.0_RELEASE)'
;
...
...
htdocs/theme/default/templates/form/viewacl.tpl
View file @
f8beffdd
...
...
@@ -85,7 +85,7 @@ function renderAccessListItem(item) {
var
row
=
TABLE
(
{
'class'
:
cssClass
}
,
TBODY
(
null
,
TR
(
null
,
TH
(
null
,
name
,
(
item
.
role
?
'
-
'
+
item
.
roledisplay
:
''
)),
TH
(
null
,
name
,
(
item
.
role
!=
null
?
'
-
'
+
item
.
roledisplay
:
''
)),
TD
(
{
'class'
:
'right removebutton'
}
,
removeButton
)
),
TR
(
null
,
...
...
@@ -105,7 +105,7 @@ function renderAccessListItem(item) {
:
null
),
(
typeof
(
item
.
role
)
!=
'
undefined
'
?
(
item
.
role
!=
null
?
INPUT
({
'
type
'
:
'
hidden
'
,
'
name
'
:
'
accesslist[
'
+
count
+
'
][role]
'
,
...
...
Write
Preview
Markdown
is supported
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