mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
removing extraneous lines
Not sure about translations yet...
This commit is contained in:
parent
b484dd3208
commit
ec15f239c6
1 changed files with 0 additions and 3 deletions
|
|
@ -75,9 +75,6 @@ angular.module('habitrpg')
|
|||
|
||||
$http.post(ApiUrl.get() + '/api/v2/user/batch-update', sent, {params: {data:+new Date, _v:user._v, siteVersion: $window.env && $window.env.siteVersion}})
|
||||
.success(function (data, status, heacreatingders, config) {
|
||||
//alert("Updating " + JSON.stringify(sent));
|
||||
//alert("Response was " + status);
|
||||
//user.party.
|
||||
//make sure there are no pending actions to sync. If there are any it is not safe to apply model from server as we may overwrite user data.
|
||||
if (!queue.length) {
|
||||
//we can't do user=data as it will not update user references in all other angular controllers.
|
||||
|
|
|
|||
Loading…
Reference in a new issue