remove groups websites

This commit is contained in:
Adrien Lemaire
2013-11-12 22:25:40 +11:00
parent 2e0d83a9cb
commit 4980a2e6b5
2 changed files with 1 additions and 24 deletions

View File

@@ -16,15 +16,6 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Groups', '$http', 'A
group._editing = false;
}
$scope.addWebsite = function(group){
group.websites.push(group._newWebsite);
group._newWebsite = '';
}
$scope.removeWebsite = function(group, $index){
group.websites.splice($index,1);
}
// ------ Modals ------
$scope.clickMember = function(uid, forceShow) {