2014-09-04, 10:12 PM
(This post was last modified: 2014-09-04, 11:11 PM by Destroy666.
Edit Reason: Solved.
)
Hello all.
Can someone help me to change this function to work in MyBB 1.8 ?
Edit:
I solved this problem when i read console log.
No need to use function: xml=response.responseXML; to work properly
So plugin Thanks now work on 1.8
Can someone help me to change this function to work in MyBB 1.8 ?
xml=response.responseXML;
remove=xml.getElementsByTagName('del').item(0).firstChild.data=="1";
lin=document.getElementById('a'+pid);
if (remove) {
table = document.getElementById('thx' + pid);
table.style.display = xml.getElementsByTagName('display').item(0).firstChild.data != 0 ?
'' : 'none';
list = document.getElementById('thx_list' + pid);
list.innerHTML = xml.getElementsByTagName('list').item(0).firstChild.data;
img = document.getElementById('i' + pid);
img.src = xml.getElementsByTagName('image').item(0).firstChild.data;
Edit:
I solved this problem when i read console log.
No need to use function: xml=response.responseXML; to work properly
So plugin Thanks now work on 1.8