Fix reference to response.json_ok -> response.meta.json_ok.
This commit is contained in:
parent
461612f770
commit
7527b3678f
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function remove_photos(album_id, photo_ids, callback)
|
||||||
api.albums.callback_follow =
|
api.albums.callback_follow =
|
||||||
function callback_follow(response)
|
function callback_follow(response)
|
||||||
{
|
{
|
||||||
if ((response.meta.status !== 200) || (! response.json_ok) || (! response.data.id))
|
if ((response.meta.status !== 200) || (! response.meta.json_ok) || (! response.data.id))
|
||||||
{
|
{
|
||||||
alert(JSON.stringify(response));
|
alert(JSON.stringify(response));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue