setDiff: function(diff) {\r
var diffView = new DiffView();\r
diffView.setTable(diff.table);\r
- tabsView.addTab(diff.ver1 + '->' + diff.ver2, diff.ver1 + '-' + diff.ver2, diffView.dom);\r
+ var slug = diff.ver1 + '-' + diff.ver2;\r
+ tabsView.addTab(diff.ver1 + '->' + diff.ver2, slug, diffView.dom);\r
+ tabsView.selectTab(slug);\r
}\r
};\r
};\r