alunny / ChildBrowser

cross-platform ChildBrowser plugin for PhoneGap/Cordova
104 stars 134 forks source link

childbrowser won't open after close a first one #19

Open albertkeba opened 11 years ago

albertkeba commented 11 years ago

Hi All,

I have some trouble with childbrowser. Actually i want open a new window after i have closed a first one but... WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: Application tried to present modally an active controller

Do you have an idea please?

Here is my sample code:

cb.showWebPage(link); cb.onLocationChange = function(){ cb.close(); } cb.onClose = function(){ cb.showWebPage(link2); }