Bugs item #769283, was opened at 2003-07-10 21:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105757&aid=769283&group_id=5757
Category: DynAPI 3 API
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel Tiru (tiru)
Assigned to: Nobody/Anonymous (nobody)
Summary: Event error
Initial Comment:
Hi!
I have a HTML button and a onclick event assigned to
that one.
parent.hb = new parent.HTMLButton
('submit','Login','Login');
parent.hb.addEventListener({
onclick:function(e){
var o=e.getSource();
parent.PostData
('frmLogin','response.asp');
}
});
When i click on the button one time, it works fine,
however when i click another time, it returns:
Error: Can't execute code from a freed script
Line: 77 in event.js
The line in event js looks like this:
if (this._listeners[i]["on"+type]) this._listeners[i]
["on"+type](e,args);
And my debugger marks this part:
this._listeners[i]["on"+type](e,args)
The script it calls works fine, i have tried it several times
without a HTMLButton, with just an ordinary button.
Hope this info helps out in solving this.
Regards
Daniel
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105757&aid=769283&group_id=5757
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/