Siebel Open UI: How to fix Form applet display issue in Chrome

Comments
-
I am trying to resolve this issue by following the instructions mentioned in document. However issue is not resolved by copying java script mentioned. When I tried to debug in Chrome using console, I got below error:
"Uncaught SyntaxError: Unexpected token ILLEGAL "
When I searched for this error, I did not get any proper resolution. I tried saving file in Unicode format, UTF-8 format, still the error remains same. Please advise if anybody has this code. Our Siebel version is 8.1.1.10
Thanks,
0 -
I am trying to resolve this issue by following the instructions mentioned in document. However issue is not resolved by copying java script mentioned. When I tried to debug in Chrome using console, I got below error:
"Uncaught SyntaxError: Unexpected token ILLEGAL "
When I searched for this error, I did not get any proper resolution. I tried saving file in Unicode format, UTF-8 format, still the error remains same. Please advise if anybody has this code. Our Siebel version is 8.1.1.10
Thanks,
Please see the following discussion on this issue:
https://community.oracle.com/thread/3492051?start=15&tstart=0User states: " ... note that copy-paste from the PDF directly to vi on Linux replaced the semicolons with colons, and removed the dash character. I found it necessary to paste from the PDF to a Windows text editor such as TextPad and then copy and paste from there into vi."
Are you on a Linux/Unix platform? Could you copy and paste into another text editor first?
Regards,
Victoria1 -
I am trying to resolve this issue by following the instructions mentioned in document. However issue is not resolved by copying java script mentioned. When I tried to debug in Chrome using console, I got below error:
"Uncaught SyntaxError: Unexpected token ILLEGAL "
When I searched for this error, I did not get any proper resolution. I tried saving file in Unicode format, UTF-8 format, still the error remains same. Please advise if anybody has this code. Our Siebel version is 8.1.1.10
Thanks,
Please try this:
if (typeof(SiebelAppFacade.ChromeSpaceFix) === "undefined") {
Namespace("SiebelAppFacade.ChromeSpaceFix");
(function() {
SiebelApp.EventManager.addListner("postload", ChromeTdSpaceFix, this);
function ChromeTdSpaceFix() {
try {
$("#_svf0 table.GridBack").find("tr").children("td").each(function(index) {
var regex = /(height)(\s*):(\s*)([^;]*)/;
el = $(this);
st = el.attr("style");
match = regex.exec(st);
if (match && Number(match[4]) && el.is(":empty") && el.siblings().length != el.siblings(":empty").length) {
st = st.replace("height", "xheight");
el.attr("style", st + "height:" + Number(match[4]) + "px;");
}
});
} catch (error) {
// Nothing to do.
}
}
}());
}
Regards,
Clara
0