Commit 4a1b7387 authored by CarlosGC1989's avatar CarlosGC1989
Browse files

Refactoriza textSearch

Refactoriza textSearch.
Actualiza submódulo.

Fix #5
parent 1cef9f2e
Loading
Loading
Loading
Loading
Compare e81aec6b to 40167d8c
Original line number Diff line number Diff line
Subproject commit e81aec6bae84a58ce90834828836e88e99faa021
Subproject commit 40167d8c2e77209b463bbcb02ca8052d96c6763f
+0 −10
Original line number Diff line number Diff line
@@ -149,7 +149,6 @@ define([
			var query = req.query,
				text = (query.text && query.text.text) || '';

			this.textValue = text;
			this.textSearch.setValue(text);
		},

@@ -177,18 +176,10 @@ define([
			if (obj.execute) {
				this.textSearch.emit('execute');
			}

			this.textValue = obj.data || '';
		},

		_newSearch: function(evt) {

			if ((evt && evt.length === 1 )|| (this.textValue === evt)) {
				return;
			}

			this.textValue = evt;

			this._emitEvt('TRACK', {
				type: TRACK.type.event,
				info: {
@@ -243,7 +234,6 @@ define([

		_reset: function() {

			this.textValue = null;
			this.textSearch.setI18n(this.i18n);
			this.textSearch.emit("reset");
		},