GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of madrobby/scripty2
Description: This is the alpha version of script.aculo.us 2, lovingly called "scripty2".
Homepage: http://script.aculo.us/2
Clone URL: git://github.com/kommen/scripty2.git
Add queue to Effect.queues if it isn't there already.
Fixes a bug where effects with a custom queue don't run.
kommen (author)
Wed Apr 30 05:57:47 -0700 2008
commit  092bd151dc2f47f42744be515351a81759ba7472
tree    ed166a86ff966fc81fef103ddc08ea83ea2d9526
parent  71dae734b247f862d3447ed67dd71ec70904993d
...
3
4
5
 
 
 
6
7
8
...
3
4
5
6
7
8
9
10
11
0
@@ -3,6 +3,9 @@ Effect.Base = Class.create({
0
     Effect.initialize();
0
     this.updateWithoutWrappers = this.update;
0
     
0
+ if(options.queue && !Effect.queues.include(options.queue))
0
+ Effect.queues.push(options.queue);
0
+
0
     this.setOptions(options);
0
     this.state = 'idle';
0
     

Comments

    No one has commented yet.