force a hard-refresh if an error is detected (temporary, revisit if

causing issues)
This commit is contained in:
Tyler Renelle 2013-12-16 22:09:20 -07:00
parent 75b966bda4
commit 7e82e2f5e0

View file

@ -110,6 +110,7 @@ angular.module('userServices', []).
// Clear the queue. Better if we can hunt down the problem op, but this is the easiest solution
settings.sync.queue = settings.sync.sent = [];
save();
window.location.reload(true);
// But if we're offline, queue up offline actions so we can send when we're back online
} else {