fixed problem with basic auth, added new message window

This commit is contained in:
Jeena Paradies 2012-12-26 17:12:20 +01:00
parent efecb823cd
commit a861de4eb4
6 changed files with 79 additions and 23 deletions

View file

@ -78,8 +78,8 @@ function(HostApp, Paths, Hmac) {
var data = JSON.parse(resp.responseText);
those.authRequest(data);
}
Paths.getURL(Paths.mkApiRootPath("/apps"), "POST", callback, JSON.stringify(those.app_info));
});
Paths.getURL(Paths.mkApiRootPath("/apps"), "POST", callback, JSON.stringify(those.app_info), false);
}, null, false);
}
Oauth.prototype.authRequest = function(register_data) {
@ -148,7 +148,7 @@ function(HostApp, Paths, Hmac) {
HostApp.setSecret(access["mac_key"]);
HostApp.setStringForKey(access["mac_algorithm"], "user_mac_algorithm");
HostApp.setStringForKey(access["token_type"], "user_token_type");
HostApp.loggedIn();
}