Open UI Browser Script: Confirm Message Box, Lost Application Control In IE11 (Doc ID 2275412.1)

Last updated on JUNE 09, 2017

Applies to:

Siebel CRM - Version 15.11 [IP2015] and later
Information in this document applies to any platform.

Symptoms

On : 15.11 [IP2015] version, Client Functionality

ACTUAL BEHAVIOR
---------------
Open UI Browser Script: Confirm message box, Lost application control in IE11

We have a confirm message box by using confirm in browser script. But in IE11, when the message box displayed, the main application window lost focus and another background application displayed at background. After clicking OK button in the message box, the Siebel application is back to focus.

We don't see this issue by using Chrome.

EXPECTED BEHAVIOR
-----------------------
That the script would not cause the user to lose focus on the browser

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users lose focus on the browser

REPRO_STEPS
===========
1. Using Siebel Tools, navigate to "Action" Business Component.
2. Add the following browser script to "Action" BC:
    function BusComp_PreSetFieldValue (fieldName, value)
    {
        try
        {
            var bRet;
            switch(fieldName)
            {
                case "Status":
                    if (value=="Booked")
                    {
                        bRet = !(confirm("Status Booked - This will update the Physician Program Profile. Continue?"));
                        if (bRet)
                        {
                            return ("CancelOperation");
                        }
                    }
                    break;
                case "Priority":
                    if (value=="1-ASAP")
                    {
                         bRet = !(confirm("Priority 1-ASAP - This will update the Physician Program Profile. Continue?"));
                         if (bRet)
                         {
                              return ("CancelOperation");
                         }
                    }
                    break;
             }
             return ("ContinueOperation");
        }

        catch(e)
        {
            throw e;
        }
        finally
        {
        }
        //return ("ContinueOperation");
    }

3. Compile "Action" BC and launch Siebel Financial Services Application.
4. Make sure Windows Explorer is maximized and lying underneath Siebel Application.
5. Navigate to "My Activities".
6. Change the value of "Priority" field from old value to "1-ASAP".
7. Step off the record.
8. You would see now see Confirm Message Box popping up, but Windows Explorer underneath this Confirm Message Box and not Siebel Application.
9. This issue happens with IE 11 Browser only and not with Chrome.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms