Fixes more bad git-fu. New tag creation works now.

This commit is contained in:
John Montgomery 2015-03-31 23:23:24 -04:00
parent e35c753bdc
commit 5163ee466b

View file

@ -32,6 +32,6 @@ habitrpg.controller("FiltersCtrl", ['$scope', '$rootScope', 'User', 'Shared',
$scope.createTag = function() {
User.user.ops.addTag({body:{name:$scope._newTag.name, id:Shared.uuid()}});
$scope._newTag = '';
$scope._newTag.name = '';
};
}]);