adjustment for oauth 2.0 window

master
Steve L. Nyemba 6 years ago
parent 34df3788e1
commit 6ae6d77b22

@ -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);
} }

Loading…
Cancel
Save