|
|
@ -32,10 +32,12 @@ jx.cloudview.oauth.init = function (id, key,callback,err) {
|
|
|
|
|
|
|
|
|
|
|
|
jx.cloudview.handler = null
|
|
|
|
jx.cloudview.handler = null
|
|
|
|
jx.cloudview.popup = window.open(url, 'oauth', 'width=405, height=900')
|
|
|
|
jx.cloudview.popup = window.open(url, 'oauth', 'width=405, height=900')
|
|
|
|
|
|
|
|
jx.cloudview.popup.focus()
|
|
|
|
jx.cloudview.oauth.listen(key,callback,err)
|
|
|
|
jx.cloudview.oauth.listen(key,callback,err)
|
|
|
|
}else{
|
|
|
|
}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(()=>{
|
|
|
|
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()
|
|
|
|
err()
|
|
|
|
},2500);
|
|
|
|
},2500);
|
|
|
|
}
|
|
|
|
}
|
|
|
|