Frame Error Pops Up Upon Clicking Leave Message Link
#1
Posted 20 December 2011 - 07:19 PM
[object Error]lz_chat_frame.3.2.login.1.0 - IE 8
OR
TypeError: frames['lz_chat_frame.3.2'].frames[_frame] is undefinedlz_chat_frame.3.2.login.1.0 - Firefox 8
Screen captures of the error are attached. The issue appears to be the same as was mentioned here: http://www.livezilla....php?f=7&t=5546
Any ideas as to how to fix this?
Thanks in advance!
#2
Posted 20 December 2011 - 10:51 PM
It doesn't appear to be browser specific since it occurs in both Firefox and IE. However, if I click the Leave Message button from the Offline page, which I would get if no analysts are available, it pops up a new message in my email client just fine. So is there something wrong with the code or the link itself when it is clicked from within a chat session vs the button on the Offline page?
When I hover over the link, this is what I see in the browser status bar: javascript:top.lz_chat_goto_message(true,false);
#3
Posted 20 December 2011 - 11:12 PM
#4
Posted 21 December 2011 - 07:14 AM
#5
Posted 21 December 2011 - 02:34 PM
dpunzova, on 21 December 2011 - 07:14 AM, said:
Unfortunately we don't have the funds to purchase version 4 at this time. I guess we'll have to live with the error. When I get a moment I'll try to reproduce in 4.x trial copy.
#6
Posted 21 December 2011 - 03:42 PM
When I hover over the link in 4.0.1.2, I see the following: javascript:parent.parent.lz_chat_unload();parent.parent.lz_chat_goto_message(true,false);
#7
Posted 21 December 2011 - 03:52 PM
Yes, I can confirm this problem. We will create a fix tomorrow and I will also provide you with a quick fix for version 3 if needed.
Btw. you could also set up the URL of your contact page in the offline message settings.
#8
Posted 21 December 2011 - 04:13 PM
pkeil, on 21 December 2011 - 03:52 PM, said:
Yes, I can confirm this problem. We will create a fix tomorrow and I will also provide you with a quick fix for version 3 if needed.
Btw. you could also set up the URL of your contact page in the offline message settings.
Thank you for your reply! I know we could setup a contact page using offline messages but we really don't want to capture any information from Livezilla when our operators are offline. We actually want to forward such offline requests to our service desk email address so for our purposes it would be better to do this via a standard email message than using the Livezilla offline message feature. A fix for version 3 would be great. Right now we're just setting up a longer term pilot for our customer so if they like it, there is potential for purchase of newer versions. This was a pretty glaring bug though for our customer so a fix for version 3 before we demo would be greatly appreciated.
Thanks Again!
#9
Posted 22 December 2011 - 08:57 AM
Quote
#10
Posted 22 December 2011 - 09:57 AM
Open:
%server% / %server% / templates / jscript / jsextern.tpl
Find:
else if(<!--offline_message_mode--> == 2)
{
window.location.href = 'mailto:' + lz_chat_data.Groups.GetGroupById(lz_chat_get_frame_object('lz_chat_frame.3.2.login.1.0','lz_chat_form_groups').value).Email;
return;
}
Replace with:
else if(<!--offline_message_mode--> == 2)
{
var email = (lz_chat_data.SelectedGroup != null) ? lz_chat_data.SelectedGroup.Email : lz_chat_data.Groups.GetGroupById(lz_chat_get_frame_object('lz_chat_frame.3.2.login.1.0','lz_chat_form_groups').value).Email;
window.location.href = 'mailto:' + email;
return;
}
#11
Posted 22 December 2011 - 11:55 PM
pkeil, on 22 December 2011 - 09:57 AM, said:
I tried replacing the else if statement with the code that you provided on my 3.3.2.3 installation, but I'm still getting the same error message in FF and IE. Were you able to confirm that the fix worked in your environment? I tried clearing the browser cache and it made no difference.
Thanks
#12
Posted 23 December 2011 - 06:54 AM
#13
Posted 23 December 2011 - 02:37 PM
pkeil, on 23 December 2011 - 06:54 AM, said:
Yes I applied the code to the following statement:
else if(<!--offline_message_mode--> == 2)
If I comment out the var = email line and simply hardcode the email address by using following:
window.location.href = 'mailto:' + 'support@abc.com';
it pops up in my email client just fine. So it appears to be catching the correct condition but it doesn't like something in the lz_chat_get_frame_object call. I suppose I could use this method as a workaround but I would rather it grab the email address from the group configuration just in case we decide to change it in the future.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












