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
f8beffdd
Commit
f8beffdd
authored
Apr 09, 2009
by
Richard Mansfield
Browse files
Fix for group view access in IE (bugs 3249, 3253)
parent
b146af16
Changes
3
Hide whitespace changes
Inline
Side-by-side
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
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