Skip to content

Commit

Permalink
Merge pull request #442 from not-an-aardvark/master
Browse files Browse the repository at this point in the history
Fix #441
  • Loading branch information
AlMcKinlay committed Nov 29, 2015
2 parents 9e04763 + 645e72a commit 72857b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions assets/js/indexCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,15 @@ module.exports = function ($scope) {
$scope.addRefError = "";
$scope.indexOk.addRef = false;
$scope.indexSpin.addRef = true;
var url = "/reference/add",
user2 = $scope.addInfo.user2;
var url = "/reference/add";
$scope.addRefError = $scope.validateRef($scope.addInfo);
if ($scope.addRefError) {
$scope.indexSpin.addRef = false;
return;
}
var post = {
"url": $scope.addInfo.refUrl,
"user2": user2,
"user2": $scope.addInfo.user2,
"type": $scope.addInfo.type,
"notes": $scope.addInfo.notes,
"privatenotes": $scope.addInfo.privatenotes,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "FlairHQ",
"version": "2.2.2",
"version": "2.2.3",
"description": "A project to allow easy adding of flair applications for subreddits (focusing initially on /r/pokemontrades) and easy moderation for moderators.",
"scripts": {
"start": "node ./node_modules/sails/bin/sails.js lift"
Expand Down

0 comments on commit 72857b5

Please sign in to comment.