Hi All,
For anyone using the V8.05 stock templates or using them as a reference,
there are a couple of script bugs in addrbook.cgi that I have noted.
In the function formatContactList(textAreaStr), the line:
formattedStr = formattedStr.substring(1, strLen+1);
Should be:
formattedStr = formattedStr.substring(1, strLen);
In the function removeDuplicates(textStr, delimiter), the if test
if(entry.length >= 2)
{
.
.
.
}
Should be followed by an else as follows:
if(entry.length >= 2)
{
.
.
.
}
else finalStr = entry[0];
Mike
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/