Commit e81aec6b authored by CarlosGC1989's avatar CarlosGC1989
Browse files

Arregla error en filtering

parent 11cec4a9
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
@@ -423,6 +423,20 @@ define([

		_clickFiltering: function() {

			this._setValueInput(this._getValueInput());

			if (this.boxResultsNode && this.boxResultsNode.children.length !== 0) {
				this._closeResults();
			} else {
				this.boxResultsNode && this._cleanChildrenNode(this.boxResultsNode);
				this._request(this._getValueInput());
			}

			this.inputNode.focus();
		},

		/*_clickFiltering: function() {

			if (this.boxResultsNode && this.boxResultsNode.children.length === 0) {
				this._cleanChildrenNode(this.boxResultsNode);
				this._setValueInput(this._getValueInput());
@@ -436,7 +450,7 @@ define([
			}

			this.inputNode.focus();
		},
		},*/

		_request: function(textValue, pagination) {