toggle menu
FOP2 Forum
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Support
Bar MiniBrowser Lost After Dialed Number
moses
July 2016
in
Support
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
nicolas
July 2016
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.
moses
July 2016
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.
Comments
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.
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:)