Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

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

Stefanoreg -Oracle
Stefanoreg -Oracle Posts: 562 Red Ribbon
edited Nov 30, 2018 12:16AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 3 comments

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,

  • Victoria S-Oracle
    Victoria S-Oracle Posts: 455 Silver Badge

    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=0

    User 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,
    Victoria

  • Clarab-Oracle
    Clarab-Oracle Posts: 24 Green Ribbon

    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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center