From 3b06060597cca74c747b7ef359fc585d513cdbf2 Mon Sep 17 00:00:00 2001 From: Mateja Verlic Date: Fri, 25 Jan 2013 21:56:24 +0100 Subject: [PATCH] Tooltip is updated after changing facet expression - fixed #649 --- main/webapp/modules/core/scripts/facets/list-facet.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/webapp/modules/core/scripts/facets/list-facet.js b/main/webapp/modules/core/scripts/facets/list-facet.js index 38656b57e..4df634846 100644 --- a/main/webapp/modules/core/scripts/facets/list-facet.js +++ b/main/webapp/modules/core/scripts/facets/list-facet.js @@ -680,6 +680,7 @@ ListFacet.prototype._editExpression = function() { self._config.expression = expr; self._elmts.expressionDiv.text(self._config.expression); + self._elmts.changeButton.attr("title", "Current Expression: " + self._config.expression); if (self._config.expression == "value" || self._config.expression == "grel:value") { self._elmts.clusterLink.show(); } else { @@ -689,6 +690,7 @@ ListFacet.prototype._editExpression = function() { self.reset(); self._updateRest(); } + self._elmts.expressionDiv.hide(); } ); };