Commit 003c7efa authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Adapta escucha de selección

Usa 'target' en lugar de 'selectionTarget' para clasificar y filtrar las
respuestas de selección.
parent 0974eba3
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -166,16 +166,9 @@ define([

		_chkSelectionTargetIsMine: function(res) {

			if (!this._chkSuccessful(res)) {
				return false;
			}

			var body = res.body;
			if (body && body.selectionTarget && (body.selectionTarget !== this._getSelectionTarget())) {
				return false;
			}
			var target = res.target;

			return true;
			return !target || target === this._getSelectionTarget();
		},

		_chkSelectionTargetAndRequester: function(res) {