PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Logging » Log » Bug #2212

multiple Log_win badly adresses target window

Details

Submitted2004-08-25 03:13 UTC
Fromtaggael at tlen dot pl
Assignedjon
StatusClosed
PackageLog
PHP Version4.3.8
OSall
Roadmaps(Not assigned)

Comments

[2004-08-25 03:13 UTC] taggael at tlen dot pl

Description:
------------
packet version: Log 1.8.5 stable
file: Log/win.php 1.15

problem: javascript always adresses target window by 'win' variable, thus all messages goes to the last opened window (win value is being overwritten)

reproduction: create multiple instances of Log_win (even with different names)

suggested solution:
[url=http://150.254.29.65/~kgzik/dload/win.php.1.15.diff]win.php.1.15.diff[/url]
+ probably require and validate $name param (no spaces)
(or autogenerate unique names)

[2004-08-25 03:18 UTC] taggael at tlen dot pl

url got messed up
correct one: http://150.254.29.65/~kgzik/dload/win.php.1.15.diff