JosComment - problem in ajax send funciton - Joomla! Forum - community, help and support
dear sirs,
i using joscomment 2.40 final on site time. realy ajax based system , of component. became unstable, can not understand why. problem in firefox. can add comments , not. when can not add, have error in java console of firefox:
error: uncaught exception: [exception... "component returned failure code: 0x804b000f [nsixmlhttprequest.setrequestheader]" nsresult: "0x804b000f ()" location: "js frame :: http://blablabla/components/com_comment ... /client.js :: ajaxsend :: line 113" data: no]
here code of send function, in error happens:
thanks in advance
i using joscomment 2.40 final on site time. realy ajax based system , of component. became unstable, can not understand why. problem in firefox. can add comments , not. when can not add, have error in java console of firefox:
error: uncaught exception: [exception... "component returned failure code: 0x804b000f [nsixmlhttprequest.setrequestheader]" nsresult: "0x804b000f (
here code of send function, in error happens:
code: select all
function ajaxsend(data, onreadystatechange)
{
109. document.joomlacommentform.bsend.disabled = true;
110. busyimage.create();
111. http.open("post", 'index2.php', true);
112. http.onreadystatechange = onreadystatechange;
113. http.setrequestheader('content-type', 'application/x-www-form-urlencoded');
114. http.send(data);
}
thanks in advance
Comments
Post a Comment