Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 6
Registered: ‎05-16-2011
My Device: 9000
My Carrier: Telekom

OS 6 history.back() bug - work around

 

Hello,
has anyone a work around for the history.back() bug in OS 6? I've read some post from Tneil. In this post he talks about a way to override the history.back() function with "BrowserField. But I don't know how?

 

 

Thanks in advance!


Regards,


Klamauck

 

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: OS 6 history.back() bug - work around

Hi Klamauck,

 

Are you using the WebWorks 2.0 SDK?

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Contributor
Posts: 6
Registered: ‎05-16-2011
My Device: 9000
My Carrier: Telekom

Re: OS 6 history.back() bug - work around

Hi TNeil,

yes I updated my eclipse environment 2 two days ago. And this was the first thing that I have tested. But nothing changed. I've tested it with torch sim 9800 6.0.0.227.

I use this function:
function createBackButton(lang, id) {

var html = "";
html +="<div class=\"main-panel\">"+"\n";
html +="<div class=\"panel-top-left\"></div>"+"\n";
html +="<div class=\"panel-top-right\"></div>"+"\n";
html +="<div class=\"panel-inside\">"+"\n";
html +="<div class=\"panel-nogap\">"+"\n";

html +="<div class=\"arrowList\" x-blackberry-focusable=\"true\" onclick=\"javascript&colon;history.back();\">\n";
if(lang == "de") {
html +="<span class=\"arrowListText\">Zur&uuml;ck</span>\n";
}
else{
html +="<span class=\"arrowListText\">Back</span>\n";
}
html +="<img style=\"height:11px;width:7px;\" class=\"arrow\" src=\"images/arrow.png\"/>\n";
html +="</div>"+"\n";
html +="</div>"+"\n";
html +="</div>"+"\n";
html +="<div class=\"panel-bottom-left\"></div>"+"\n";
html +="<div class=\"panel-bottom-right\"></div>"+"\n";
html +="</div>"+"\n";

document.getElementById(id).innerHTML=html;
}

##############################################

Thank you for your efforts!

Regards
Andreas