JWChat Notes

Customizations made for WebMail integration

1. File names

Rename *.html.html to *.html
Rename *.js.js to *.js
Delete *.lang


3. jwchat.html - close parent(login) window if jid is valid

....
if (!isValidJID(jid))
  window.close();
  //IceWarp
  else if(opener!=null) opener.close(); 
....


4. JSJaCHttpPollingConnection.js Mozilla Fix (req.responseXML object has no properties/boolean value)

--
	if (!this._req[0].responseXML || this._req[0].responseText == '') {
--
replace with
--
	if (this._req[0].responseText == '') {
--
