Commit 3972ddcf authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix my tag search paginator for ie6

parent c22c91dd
...@@ -44,10 +44,7 @@ var Paginator = function(id, datatable, script, extradata) { ...@@ -44,10 +44,7 @@ var Paginator = function(id, datatable, script, extradata) {
// You can't write to table nodes innerHTML in IE and // You can't write to table nodes innerHTML in IE and
// konqueror, so this workaround detects them and does // konqueror, so this workaround detects them and does
// things differently // things differently
if ( if ((document.all && !window.opera) || (/Konqueror|AppleWebKit|KHTML/.test(navigator.userAgent))) {
(document.all && document.documentElement && typeof(document.documentElement.style.maxHeight) != "undefined" && !window.opera)
||
(/Konqueror|AppleWebKit|KHTML/.test(navigator.userAgent))) {
var temp = DIV({'id':'ie-workaround'}); var temp = DIV({'id':'ie-workaround'});
temp.innerHTML = '<table><tbody>' + data.data.tablerows + '</tbody></table>'; temp.innerHTML = '<table><tbody>' + data.data.tablerows + '</tbody></table>';
swapDOM(tbody, temp.childNodes[0].childNodes[0]); swapDOM(tbody, temp.childNodes[0].childNodes[0]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment