Join/Leave buttons on guild detail page. Addresses #4427

This commit is contained in:
Kevin Gisi
2015-04-15 06:13:54 -04:00
parent c19ec1387a
commit d455666650
4 changed files with 21 additions and 2 deletions

View File

@@ -260,7 +260,9 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
// reload the page. Perform manually.
$rootScope.hardRedirect = function(url){
window.location.href = url;
window.location.reload(false);
setTimeout(function() {
window.location.reload(false);
});
}
// Universal method for sending HTTP methods