Commit 67643ed1 authored by Nigel McNie's avatar Nigel McNie
Browse files

Make the artefactchooser search tab work in Konqueror (and presumably IE7). Fixes #1719.

parent 118a7a28
......@@ -204,7 +204,13 @@ if (ul) {
sendjsonrequest(p.jsonScript, queryData, 'GET', function(data) {
var tbody = getFirstElementByTagAndClassName('tbody', null, p.datatable);
if (tbody) {
tbody.innerHTML = data['data']['tablerows'];
var temp = DIV();
temp.innerHTML = data['data']['tablerows'];
swapDOM(tbody, temp);
// This does not work in IE and Konqueror, the tbody
// innerHTML property is readonly.
// http://www.ericvasilik.com/2006/07/code-karma.html
//tbody.innerHTML = data['data']['tablerows'];
}
// Update the pagination
......
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