My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: stop parameter works improperly
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Apr 2008


 
Reported by naug...@gmail.com, Apr 6, 2008
What steps will reproduce the problem?
1. (in firefox 2) use the ppdrag in a page like this $('.box').ppdrag({
stop:imhere() });
2. create a function imhere() that just shows an alert
3. refreshing the page results in runing the alert, but no further events
can run it (does not react for stopping the drag)

What is the expected output? What do you see instead?
function is running only once, it should run only and everytime when i stop
dragging an element.

What version of the product are you using? On what operating system?
first release

Please provide any additional information below.
i use it together with jquery based lightbox inside the dragged div
 
Apr 6, 2008
Project Member #1 onestone
This code is incorrect:

$('.box').ppdrag({ stop:imhere() });

You are passing as the 'stop' parameter the _value_ returned by a single invocation
to the imhere() function. You should pass just the name of the function instead, like
this:

$('.box').ppdrag({ stop:imhere });
Status: Invalid

Powered by Google Project Hosting