Skip to content

Commit

Permalink
Merge pull request #284 from rickcarlino/master
Browse files Browse the repository at this point in the history
Hotfix / production release November 2nd
  • Loading branch information
RickCarlino committed Nov 2, 2014
2 parents 4fa1cf0 + acccf38 commit 9a92a79
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/assets/javascripts/guides/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ openFarmApp.controller('editGuideCtrl', ['$scope', '$http', 'guideService',
$scope.alerts.push({
msg: value,
type: 'alert'
});
});
});

$scope.saving = false;
});
console.log('saving requirements');
Expand Down Expand Up @@ -236,7 +236,10 @@ openFarmApp.controller('editGuideCtrl', ['$scope', '$http', 'guideService',
};
}]);

openFarmApp.directive('focusMe', function($timeout, $parse) {
openFarmApp.directive('focusMe',
['$timeout',
'$parse',
function($timeout, $parse) {
return {
//scope: true, // optionally create a child scope
link: function(scope, element, attrs) {
Expand All @@ -253,4 +256,4 @@ openFarmApp.directive('focusMe', function($timeout, $parse) {
});
}
};
});
}]);

0 comments on commit 9a92a79

Please sign in to comment.