When "change" is clicked in a facet, and the expression bar is opened, then it should automatically open the dialog box to edit the expression.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1553 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
fdc6fee052
commit
15e715dce4
@ -142,7 +142,11 @@ ListFacet.prototype._initializeUI = function() {
|
||||
|
||||
this._elmts.titleSpan.text(this._config.name);
|
||||
this._elmts.changeButton.attr("title","Current Expression: " + this._config.expression).click(function() {
|
||||
self._elmts.expressionDiv.slideToggle(100);
|
||||
self._elmts.expressionDiv.slideToggle(100, function() {
|
||||
if (self._elmts.expressionDiv.css("display") != "none") {
|
||||
self._editExpression();
|
||||
}
|
||||
});
|
||||
});
|
||||
this._elmts.expressionDiv.text(this._config.expression).hide().click(function() { self._editExpression(); });
|
||||
this._elmts.removeButton.click(function() { self._remove(); });
|
||||
|
@ -121,7 +121,11 @@ RangeFacet.prototype._initializeUI = function() {
|
||||
|
||||
this._elmts.facetTitle.text(this._config.name);
|
||||
this._elmts.changeButton.attr("title","Current Expression: " + this._config.expression).click(function() {
|
||||
self._elmts.expressionDiv.slideToggle(100);
|
||||
self._elmts.expressionDiv.slideToggle(100, function() {
|
||||
if (self._elmts.expressionDiv.css("display") != "none") {
|
||||
self._editExpression();
|
||||
}
|
||||
});
|
||||
});
|
||||
this._elmts.expressionDiv.text(this._config.expression).click(function() {
|
||||
self._editExpression();
|
||||
|
@ -122,7 +122,11 @@ TimeRangeFacet.prototype._initializeUI = function() {
|
||||
|
||||
this._elmts.facetTitle.text(this._config.name);
|
||||
this._elmts.changeButton.attr("title","Current Expression: " + this._config.expression).click(function() {
|
||||
self._elmts.expressionDiv.slideToggle(100);
|
||||
self._elmts.expressionDiv.slideToggle(100, function() {
|
||||
if (self._elmts.expressionDiv.css("display") != "none") {
|
||||
self._editExpression();
|
||||
}
|
||||
});
|
||||
});
|
||||
this._elmts.expressionDiv.text(this._config.expression).click(function() {
|
||||
self._editExpression();
|
||||
|
Loading…
Reference in New Issue
Block a user