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
6d4e28f9
Commit
6d4e28f9
authored
Feb 11, 2009
by
Richard Mansfield
Browse files
Fix group member paging in IE7 (bug 3136)
parent
98fa9c87
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/js/groupmembersearch.js
View file @
6d4e28f9
...
...
@@ -50,7 +50,19 @@ function UserSearch() {
this
.
doSearch
=
function
()
{
self
.
params
.
action
=
'
search
'
;
sendjsonrequest
(
'
membersearchresults.php
'
,
self
.
params
,
'
POST
'
,
function
(
data
)
{
getElementsByTagAndClassName
(
'
tbody
'
,
null
,
'
results
'
)[
0
].
innerHTML
=
data
.
data
.
tablerows
;
var
tbody
=
getElementsByTagAndClassName
(
'
tbody
'
,
null
,
'
results
'
)[
0
];
if
(
(
document
.
all
&&
document
.
documentElement
&&
typeof
(
document
.
documentElement
.
style
.
maxHeight
)
!=
"
undefined
"
&&
!
window
.
opera
)
||
(
/Konqueror|AppleWebKit|KHTML/
.
test
(
navigator
.
userAgent
)))
{
var
temp
=
DIV
({
'
id
'
:
'
ie-workaround
'
});
temp
.
innerHTML
=
'
<table><tbody>
'
+
data
.
data
.
tablerows
+
'
</tbody></table>
'
;
swapDOM
(
tbody
,
temp
.
childNodes
[
0
].
childNodes
[
0
]);
removeElement
(
temp
);
}
else
{
tbody
.
innerHTML
=
data
.
data
.
tablerows
;
}
$
(
'
pagination
'
).
innerHTML
=
data
.
data
.
pagination
;
if
(
data
.
data
.
count
)
{
self
.
rewritePaging
();
...
...
htdocs/theme/default/templates/group/members.tpl
View file @
6d4e28f9
...
...
@@ -22,8 +22,6 @@
</table>
</div>
<div
id=
"pagination"
>
{
$pagination
}
</div>
<script
type=
"text/javascript"
>
{
$pagination_js
}
</script>
{
include
file
=
"columnleftend.tpl"
}
{
include
file
=
"footer.tpl"
}
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