search cancel

Two times hit enter to submit after entering user name and password in Netscaler integration

book

Article ID: 257251

calendar_today

Updated On:

Products

VIP Service

Issue/Introduction

In the Netscaler integration for VIP, We observed that we have to hit enter keyword twice to submit the form which is not expected behavior and need to be fixed.

Environment

Release : 1.0

Resolution

We have fixed this issue in tmindex.html file and below is the piece of code which is added to correct the behavior. Attaching the modified tmindex.html file as well for reference.

 $(document).on('keyup','#passwd1',
        function (e) {
            var currentInput = $("input").val();
            console.log(currentInput);
            if (e.keyCode === 13)

{               e.preventDefault();               $.localization = localization;               isSubmitted = true;               return vipAuth();             }
        }
    );

Attachments

1672954583922__tmindex.html get_app