Removes console.warn message from do_external_connect.js if there is no error passed.
This commit is contained in:
parent
4a1175d44f
commit
166a609b94
|
@ -42,7 +42,8 @@ function buildToken(){
|
|||
}
|
||||
|
||||
function error_callback(error){
|
||||
console.warn(error);
|
||||
if(error) //error=undefined if external connect is disabled.
|
||||
console.warn(error);
|
||||
// Sets that global variable to be used later by connect method in
|
||||
// connection.js
|
||||
window.XMPPAttachInfo = {
|
||||
|
|
Loading…
Reference in New Issue