Re: Quickform hierselect

From: Date: Thu, 11 Aug 2005 16:21:40 +0000
Subject: Re: Quickform hierselect
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20378@lists.php.net to get a copy of this message
Hi, Noel wrote:
I've noticed some sort of conflict between the JavaScript generated by Quickform Hierselect and the ProtoType.js Ajax library (http://prototype.conio.net/), which breaks the output of hierselect (adding an unwanted option of text "function(object) {..." ). I'm wondering if anyone has any ideas about how best to tackle this, or what the cause might be? I'm guessing similarly named classes, or functions are to blame, but I can't find any.
The morons who wrote "ProtoType.js Ajax library" are to blame: they are most probably adding something to Object.prototype, this something in case you are not familiar with JS object model will propagate to *absolutely all* JS objects being created. Tell the guys to get a clue and fix their library.

« previous php.pear.general (#20378) next »