added permissions scope
This commit is contained in:
parent
5f55bb9b0d
commit
a8b58216de
3 changed files with 5 additions and 3 deletions
|
@ -16,6 +16,7 @@ function(APICalls, HostApp) {
|
||||||
|
|
||||||
this.mentions = [];
|
this.mentions = [];
|
||||||
document.body.className = "new_post";
|
document.body.className = "new_post";
|
||||||
|
this.is_private = false;
|
||||||
|
|
||||||
// Textarea
|
// Textarea
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,8 @@ function(HostApp, APICalls, Hmac) {
|
||||||
"https://tent.io/types/photo/v0",
|
"https://tent.io/types/photo/v0",
|
||||||
"https://tent.io/types/cursor/v0"
|
"https://tent.io/types/cursor/v0"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"scopes": ["permissions"]
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"public": false
|
"public": false
|
||||||
|
|
|
@ -146,9 +146,9 @@ function(Core, APICalls, HostApp, URI) {
|
||||||
|
|
||||||
if (!this.reload_blocked) {
|
if (!this.reload_blocked) {
|
||||||
this.reload_blocked = true;
|
this.reload_blocked = true;
|
||||||
debug(url)
|
|
||||||
APICalls.get(url, { callback: function(resp) {
|
APICalls.get(url, { callback: function(resp) {
|
||||||
debug(resp.responseText)
|
// FIXME this is getting data when it shouldn't debug(resp.responseText)
|
||||||
|
|
||||||
those.reload_blocked = false;
|
those.reload_blocked = false;
|
||||||
|
|
||||||
|
|
Reference in a new issue