Hello, everyone,
I have a problem with displaying the articles for tickets when checking the tickets as a customer user. On the customer portal, instead of seeing the article I selected from a ticket (i.e. an email sent from the agent to the customer), it shows the customer login page with the message "JavaScript Not Available". I use both Firefox and Edge and they both have JavaScript allowed and both have the same problem. This is the page that I get instead of the article:
I haven't touched any config file, but I did check inspect element and there seems to be an error in one of the javascript files. After some digging, I figured out it is the Core.Customer.TicketZoom.js file. On inspect element, the error is located in line 4 on inspect element and line 40 in the .js file. The error states: "TypeError: Iframe is undefined". This is the code section that inspect element considers that it has a problem (The bold and underlined Iframe is marked as the one generating the error):
setTimeout(function () {
var $IframeContent = $(Iframe.contentWindow.document.body || Iframe.contentDocument || ''),
NewHeight = $IframeContent.height();
if (!NewHeight || isNaN(NewHeight)) {
NewHeight = 100;
}
else {
if (NewHeight > 2500) {
NewHeight = 2500;
}
}
Please, if anyone can help me, it would be very appreciated.
- Sebastian
I have a problem with displaying the articles for tickets when checking the tickets as a customer user. On the customer portal, instead of seeing the article I selected from a ticket (i.e. an email sent from the agent to the customer), it shows the customer login page with the message "JavaScript Not Available". I use both Firefox and Edge and they both have JavaScript allowed and both have the same problem. This is the page that I get instead of the article:
I haven't touched any config file, but I did check inspect element and there seems to be an error in one of the javascript files. After some digging, I figured out it is the Core.Customer.TicketZoom.js file. On inspect element, the error is located in line 4 on inspect element and line 40 in the .js file. The error states: "TypeError: Iframe is undefined". This is the code section that inspect element considers that it has a problem (The bold and underlined Iframe is marked as the one generating the error):
setTimeout(function () {
var $IframeContent = $(Iframe.contentWindow.document.body || Iframe.contentDocument || ''),
NewHeight = $IframeContent.height();
if (!NewHeight || isNaN(NewHeight)) {
NewHeight = 100;
}
else {
if (NewHeight > 2500) {
NewHeight = 2500;
}
}
Please, if anyone can help me, it would be very appreciated.
- Sebastian
Statistics: Posted by sebf — 23 May 2024, 12:57 — Replies 3 — Views 41