Removes console.warn message from do_external_connect.js if there is no error passed.

This commit is contained in:
hristoterezov 2016-03-30 13:32:17 -05:00
parent 4a1175d44f
commit 166a609b94
1 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ function buildToken(){
} }
function error_callback(error){ function error_callback(error){
if(error) //error=undefined if external connect is disabled.
console.warn(error); console.warn(error);
// Sets that global variable to be used later by connect method in // Sets that global variable to be used later by connect method in
// connection.js // connection.js