[css][xs]: remove bootstrap button stuff from css and switch to bootstrap disable to grey out button for active view.

This commit is contained in:
Rufus Pollock
2012-02-29 21:29:34 +00:00
parent b5f2a3bbc5
commit 1b9102e4b0
3 changed files with 5 additions and 57 deletions

View File

@@ -164,8 +164,10 @@ my.DataExplorer = Backbone.View.extend({
updateNav: function(pageName, queryString) {
this.el.find('.navigation li').removeClass('active');
this.el.find('.navigation li a').removeClass('disabled');
var $el = this.el.find('.navigation li a[href=#' + pageName + ']');
$el.parent().addClass('active');
$el.addClass('disabled');
// show the specific page
_.each(this.pageViews, function(view, idx) {
if (view.id === pageName) {