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
3972ddcf
Commit
3972ddcf
authored
Sep 18, 2009
by
Richard Mansfield
Browse files
Fix my tag search paginator for ie6
parent
c22c91dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/js/paginator.js
View file @
3972ddcf
...
...
@@ -44,10 +44,7 @@ var Paginator = function(id, datatable, script, extradata) {
// You can't write to table nodes innerHTML in IE and
// konqueror, so this workaround detects them and does
// things differently
if
(
(
document
.
all
&&
document
.
documentElement
&&
typeof
(
document
.
documentElement
.
style
.
maxHeight
)
!=
"
undefined
"
&&
!
window
.
opera
)
||
(
/Konqueror|AppleWebKit|KHTML/
.
test
(
navigator
.
userAgent
)))
{
if
((
document
.
all
&&
!
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
]);
...
...
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