From 1066169c05064aa60dbdff3d8cef45bd90486622 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Fri, 15 Oct 2010 05:10:05 +0000 Subject: [PATCH] When a new facet is added, make sure to switch to the Filter / Facet tab in the sidebar. git-svn-id: http://google-refine.googlecode.com/svn/trunk@1555 7d457c2a-affb-35e4-300a-418c747d4874 --- main/webapp/modules/core/scripts/project/browsing-engine.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/webapp/modules/core/scripts/project/browsing-engine.js b/main/webapp/modules/core/scripts/project/browsing-engine.js index 0c7b7f629..1c2b97774 100644 --- a/main/webapp/modules/core/scripts/project/browsing-engine.js +++ b/main/webapp/modules/core/scripts/project/browsing-engine.js @@ -156,6 +156,8 @@ BrowsingEngine.prototype.addFacet = function(type, config, options) { this._facets.push({ elmt: elmt, facet: facet }); + ui.leftPanelTabs.tabs("select", 0); + Refine.update({ engineChanged: true }); };