|
|
@ -24,7 +24,6 @@ jx.cloudview.oauth.init = function (id, key,callback,err) {
|
|
|
|
httpclient.post(url, function (x) {
|
|
|
|
httpclient.post(url, function (x) {
|
|
|
|
|
|
|
|
|
|
|
|
var url = x.responseText
|
|
|
|
var url = x.responseText
|
|
|
|
alert(x.status)
|
|
|
|
|
|
|
|
var oauth_uri = url.match(/redirect_uri=(.+)&/)[1];
|
|
|
|
var oauth_uri = url.match(/redirect_uri=(.+)&/)[1];
|
|
|
|
|
|
|
|
|
|
|
|
url = url.replace(oauth_uri, key)
|
|
|
|
url = url.replace(oauth_uri, key)
|
|
|
|