Bar MiniBrowser Lost After Dialed Number

  1. 8 years ago

    Hi FOp2 Team,

    I have something issue about fop2 minibrowser

    If i dial number on minibrowser the bar is lost.

    Pls see my pic on attachment.

    Why it happen?

    Thanks

  2. admin

    19 Jul 2016 Administrator

    Probably because you are following an anchor link instead of returning false/void from your call, for example, this code:

    <a href='javascript:void();' onclick='parent.dial("620")'>Dial 620</a>

    Works perfectly fine and does not lose focus or does anything to the page once clicked.

    I have no idea what code are you writing, so I cannot troubleshot your code, but check the above as it will let you perform dials without 'following' the anchor.

  3. Hi Fop2,

    Before

    echo "<a href='#' onclick='parent_dial(\"$numberstrip\",\"$cust_id\",\"$extension\")'>{$ph}</a>";

    Then change to then it working

    echo "<a href='javascript:void();' onclick='parent_dial(\"$numberstrip\",\"$cust_id\",\"$extension\")'>{$ph}</a>";

    Thanks you response:)

or Sign Up to reply!