examples/bootstrap/dashboard3.slidetest.js
authorAlan Knowles <alan@roojs.com>
Tue, 3 Feb 2015 08:40:53 +0000 (16:40 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 3 Feb 2015 08:40:53 +0000 (16:40 +0800)
examples/bootstrap/dashboard3.slidetest.js

index 815b712..1960ef1 100644 (file)
@@ -51,13 +51,13 @@ Roo.apply(dashboard3.slidetest.prototype, {
         this.nel.addClass('active');
         
         // now we need to animate the both boxes moving from box.width + obox.x + 50 --> obox.x
-        
+        var _t = this;
         this.nel.animate({
             left : {
                 from : (box.width + obox.x + 50 ),
                 to : obox.x 
             }
-        }, false, 'easeOut', 'run');
+        }, function() { _t.completeSlide(); }, 'easeOut', 'run');
         
         this.el.animate({
             left : {