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
67643ed1
Commit
67643ed1
authored
Dec 03, 2007
by
Nigel McNie
Browse files
Make the artefactchooser search tab work in Konqueror (and presumably IE7). Fixes #1719.
parent
118a7a28
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/lib/form/elements/artefactchooser.php
View file @
67643ed1
...
...
@@ -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
...
...
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