Bar MiniBrowser Lost After Dialed Number

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

Comments

  • 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.
  • 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:)
Sign In or Register to comment.