Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.6

Bug #29 HTML_Progress will fail when php script runs inside frames
Submitted: 2003-09-22 17:30 UTC
From: info at rhalff dot com Assigned: farell
Status: Closed Package: HTML_Progress
PHP Version: Irrelevant OS: linux
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2003-09-24 22:44 UTC
Package:
Bug Type:
Summary:
From: info at rhalff dot com
New email:
PHP Version: Package Version: OS:

 

 [2003-09-22 17:30 UTC] info at rhalff dot com
Description: ------------ The javascript of HTML_Progress will fail if the php script is run within a HTML frame. The proper target would be 'self' and not parent I think. sollution: change all occurences of parent. to self. parent would only apply if the progress bar is in an other (parent) window then the running script, which is not likely to happen. Reproduce code: --------------- // calling example script from an iframe <iframe src="docs/HTML_Progress/examples/progress1.php"></iframe> Expected result: ---------------- Nice progressing bar. Actual result: -------------- in Mozilla: Error: parent.addprogress is not a function Error: parent.setmessage is not a function in IE: Object doesn't support this property or method. !? :-D

Comments

 [2003-09-24 22:44 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!