Commit 4e9d7777 authored by Stuart John Watson's avatar Stuart John Watson

Refresh only schedles on login now, cancels otherwise

parent 90b44b49
File added
......@@ -248,7 +248,11 @@
}
//Finally if they logged in set the refresh up to happen
scheduleRefresh();
if (response.level != "NO_ACCESS"){
scheduleRefresh();
} else {
cancelRefresh();
}
}
onPostResponse({level:"NO_LOGIN",extraPayload:{}});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment