Fixed automatic tab selecting/opening in dashboard plugin view.

This commit is contained in:
Jeff Cross
2011-11-26 13:34:40 -07:00
parent d4830b093e
commit 666cfc1ce5

View File

@@ -47,8 +47,8 @@ window.PluginView = Backbone.View.extend({
$('#tab-link-'+this.tabId+' > a').addClass('active');
}
else {
$('#plugin-tabs-nav > dd > a').addClass('active');
$('.tabs-content > li').show();
$('#plugin-tabs-nav > dd > a:first').addClass('active');
$('.tabs-content > li:first').show();
}
},
addTab: function (tabName, id) {