Commit 40fc4950 authored by Son Nguyen's avatar Son Nguyen Committed by Robert Lyon
Browse files

fix the writing Div's innerHTML Bug #993676


Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
Change-Id: Icfd425e0487c3db768f47d1e2e4b18dfc5acd159
parent a2ee6680
......@@ -120,7 +120,8 @@ var Paginator = function(id, datatable, script, extradata) {
if ((document.all && !window.opera) || (/Konqueror|AppleWebKit|KHTML/.test(navigator.userAgent))) {
var temp = DIV({'id':'ie-workaround'});
if (container.tagName == 'TBODY') {
temp.innerHTML = '<table><tbody>' + data.data.tablerows + '</tbody></table>';
temp = DIV({'id':'ie-workaround'},TABLE(null, TBODY(null, '')));
temp.childNodes[0].childNodes[0].innerHTML = data.data.tablerows;
swapDOM(container, temp.childNodes[0].childNodes[0]);
}
else {
......
Markdown is supported
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