adding jquery ui lib

This commit is contained in:
Peter Cottle 2012-10-23 22:30:15 -07:00
parent 1a24fa370a
commit b3339c07f1
4 changed files with 19 additions and 3 deletions

View file

@ -869,10 +869,16 @@ GitEngine.prototype.rebaseInteractive = function(targetSource, currentLocation)
this.animationQueue.set('defer', true);
var callback = _.bind(function(userSpecifiedRebase) {
// first, they might have dropped everything (annoying)
if (!userSpecifiedRebase.length) {
this.command.setResult('Nothing to do...');
this.animationQueue.start();
return;
}
// finish the rebase crap and animate!
var animationData = this.rebaseFinish(userSpecifiedRebase, {}, targetSource, currentLocation);
animationFactory.rebaseAnimation(this.animationQueue, animationData, this);
this.animationQueue.start();
}, this);