Web popup does not load second time.

Hi,

I have problem with web popup. I came to this scene

local options = { hasBackground = true, baseUrl=system.ResourceDirectory, urlRequest=listener }  
native.showWebPopup(0, display.contentHeight/5, display.contentWidth, display.contentHeight - display.contentHeight/5, "http://exampe.com/events.php", options )  
  

It works well. I close it with the button.

local function onPlayBtnRelease()  
 native.cancelWebPopup()  
 storyboard.gotoScene( "menu", "fade", 500 )  
 return true -- indicates successful touch  
end  

and when i came back to this scene again page does not load. [import]uid: 123082 topic_id: 22481 reply_id: 322481[/import]

Hey there, what version of Corona are you using? [import]uid: 52491 topic_id: 22481 reply_id: 89821[/import]

Trail version

2.0.0

build 2011.704 [import]uid: 123082 topic_id: 22481 reply_id: 90141[/import]

Hrm. Do you close the webpopup before leaving the scene? I see you aren’t currently assigning it a name. [import]uid: 52491 topic_id: 22481 reply_id: 90148[/import]

Hi,

yes I close webpopup before leaving the scene.

local function onPlayBtnRelease()  
 native.cancelWebPopup()  
 storyboard.gotoScene( "menu", "fade", 500 )  
 return true -- indicates successful touch  
end  

I tried to asign names, but it still does not solve the problem.

on create

local options = { hasBackground = false, baseUrl=system.ResourceDirectory, urlRequest=listener }  
site = native.showWebPopup(0, display.contentHeight/5, display.contentWidth, display.contentHeight - display.contentHeight/5, "http://example.com/a.php", options )  

and close on button press.

  
 native.cancelWebPopup(site)  
 site = nil  

maybe i am doing something wrong ? [import]uid: 123082 topic_id: 22481 reply_id: 90444[/import]

That does seem a bit off. Are you able to file a bug report and include code to reproduce? [import]uid: 52491 topic_id: 22481 reply_id: 90645[/import]