|
|
|
@ -32,10 +32,12 @@ jx.cloudview.oauth.init = function (id, key,callback,err) {
|
|
|
|
|
|
|
|
|
|
jx.cloudview.handler = null
|
|
|
|
|
jx.cloudview.popup = window.open(url, 'oauth', 'width=405, height=900')
|
|
|
|
|
jx.cloudview.popup.focus()
|
|
|
|
|
jx.cloudview.oauth.listen(key,callback,err)
|
|
|
|
|
}else{
|
|
|
|
|
jx.dom.set.value('dialog.status','<i class="fa fa-times" style="color:maroon; font-size:12px"></i> http error '+x.status+' ... closing window')
|
|
|
|
|
|
|
|
|
|
setTimeout(()=>{
|
|
|
|
|
jx.dom.set.value('dialog.status','<i class="fa fa-times" style="color:maroon; font-size:12px"></i> http error '+x.status+' ... closing window')
|
|
|
|
|
err()
|
|
|
|
|
},2500);
|
|
|
|
|
}
|
|
|
|
|