animate dropped appointments more quickly, RT#34237
[freeside.git] / rt / share / html / Search / Schedule.html
index c729ff0..726b5cc 100644 (file)
 
     var draggable = ui.draggable;
     var droppable = $(this);
-    draggable.effect( "transfer", { to: droppable }, 1000 );
+    draggable.effect( "transfer", { to: droppable }, 420 );
 
 %   #tell the backend to reschedule it
     var url = "<% popurl(3) %>misc/xmlhttp-ticket-update.html?" +
      @_,
      Query       => "( Status = 'new' OR Status = 'open' OR Status = 'stalled')
                      AND ( Type = 'reminder' OR 'Type' = 'ticket' )
-                     AND Queue.id = $queueid ",
+                     AND Queue = $queueid ",
      slots       => scalar(@usernames),
      Embed       => 'Schedule.html',
      DimPast     => 1,
                       #oops, more freeside abstraction-leaking
                       custnum   => $ARGS{custnum},
                       pkgnum    => $ARGS{pkgnum},
+                      RedirectToBasics => $ARGS{RedirectToBasics},
                     ],
 &>