From: Piotr Kosko Date: Fri, 25 Nov 2016 14:46:22 +0000 (+0100) Subject: [Convergence] Fixed typo in JS X-Git-Tag: submit/tizen/20161128.110522^2~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a664c5b0f13696e6c18464da848e9269b72fa99e;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Convergence] Fixed typo in JS Change-Id: Icc2f38dbfe9b7b25726973e9149c47d60971ce5d Signed-off-by: Piotr Kosko --- diff --git a/src/convergence/convergence_api.js b/src/convergence/convergence_api.js index 7221f36b..5c8650ff 100644 --- a/src/convergence/convergence_api.js +++ b/src/convergence/convergence_api.js @@ -379,7 +379,7 @@ RemoteAppControlService.prototype.disconnect = function(successCallback, errorCa } ]); - if (this.connectionsState != ConnectionState.CONNECTED) { + if (this.connectionState != ConnectionState.CONNECTED) { throw new WebAPIException('InvalidStateError', 'Service is not connected yet.'); } @@ -394,7 +394,7 @@ RemoteAppControlService.prototype.disconnect = function(successCallback, errorCa if (native_.isFailure(result)) { throw native_.getErrorObject(result); } else { - this.connectionState = ConnectionState.DISCONNECTED; + this.connectionState = ConnectionState.NOT_CONNECTED; } native_.callIfPossible(successCallback, this); @@ -1063,7 +1063,7 @@ AppCommunicationClientService.prototype.disconnect = function(successCallback, e if (native_.isFailure(result)) { throw native_.getErrorObject(result); } else { - this.connectionState = ConnectionState.DISCONNECTED; + this.connectionState = ConnectionState.NOT_CONNECTED; } native_.callIfPossible(successCallback, this);