better handling of /cc on Linux
This commit is contained in:
parent
595d751449
commit
3238b06c27
3 changed files with 7 additions and 5 deletions
|
@ -453,6 +453,7 @@ function(HostApp, Core, Paths, URI) {
|
|||
this.setFollowingButton(true);
|
||||
var url = URI(Paths.mkApiRootPath("/followings"));
|
||||
var data = JSON.stringify({"entity": this.entity });
|
||||
debug(data)
|
||||
Paths.getURL(url.toString(), "POST", function(resp) {
|
||||
if (resp.status >= 200 && resp.status < 300) {
|
||||
_this.following_id = JSON.parse(resp.responseText).id
|
||||
|
|
Reference in a new issue