Issue 4158: Javascript won't open an alert box when run from within a popup  
window
http://code.google.com/p/chromium/issues/detail?id=4158

Comment #2 by [EMAIL PROTECTED]:
same problem here.

Link opening content in pop-up window
<A HREF="javascript:NewWindow
('http://www.helloworld.dk/test.asp','name','500','525','no','yes')">

Using this javascript:

<SCRIPT TYPE="text/javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll,status){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings
= 
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+sc
roll+',toolbar=0,location=0,menubar=0,status='+status+',dependent=0,titlebar=0,resiza
ble=0,locationbar=0'
win = window.open(mypage,myname,settings)
win.focus();
}
</script>

Confirm and alert javascript now suddenly doesn't work in the popup-vindue  
when user
e.g. tries to submit a form that uses a confirm function:

<FORM ACTION=buy_wait.asp METHOD=POST id=form name=form onSubmit="return  
confirm
('are you sure you want to delete?');">

We hope that you can solve this one out quickly. We have a lot of customers  
now not
being able to use our webservice while this issue persists.

Regards,
Bo



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to