LucidWorks/banana — pull request #43 by manalisha (2014-09-16 06:46:24+00:00)
Title: There Is one problem in angular-strap.js file inside "bsTabs" directive code when tabs moves from one to another continuousy and leave for some time,still it moves automatically.

Original Code:

scope.$watch(iAttrs.ngModel, function (newValue, oldValue) {
if (angular.isUndefined(newValue))
return;
activeTab = newValue;
setTimeout(function () {
var $next = $($tabs[0].querySelectorAll('li')[newValue * 1]);
if (!$next.hasClass('active')) {
$next.children('a').tab('show');
}
});
});

Modified Code:
scope.$watch(iAttrs.ngModel, function (newValue, oldValue) {
if (angular.isUndefined(newValue))
return;
activeTab = newValue;
setTimeout(function () {
var $next = $($tabs[0].querySelectorAll('li')[newValue * 1]);
if (!$next.hasClass('active')) {
//Try to solve the jumping problem when moving from one tab to another tab
if(activeTab==0){
$next.first().children('a').tab('show');
}
}
});
});

Now it is solved..