Hi all,
I'll try to keep it short.
I have a simple window.open(); popup. Inside I have a hidden comment div
and a link:
<a href="javascript:;" onclick="Effect.toggle('comment-dialog',
'appear');">add new comment</a>
<div id="comment-dialog" style="display:none;">....</div>
But there seems to be a problem which I can't locate.
Scenario: I open the window from the parent. Click the 'add new comment'
link. The following error occurs:
this.loop.bind is not a function :: error on line 238 in line effects.js
- snip from effects.js -
if(!this.interval)
this.interval = setInterval(this.loop.bind(this), 40);
- end snip .
- debug info shows -
this -> loop -> (prototype : Object)
- end debug -
And nothing else insise the loop Obj. When I reload the popup (F5) and
click the same link, the link then works?
- debug info shows -
this -> loop -> (prototype : Object), (), (bind), (bindAsEventListener)
- end debug -
Somehow the bind and bindAsEvent.. got added to the stack?
Hopefully someone can explain this to me and maybe help me out.
Thanks
/D
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---