Permalink
Browse files

Backlog: Comment: Found defect in auto-focus

For some reason the auto-focus of the summary
box does not work on the story that was most
recently moved, so note that.
  • Loading branch information...
1 parent 41249e5 commit 13f248960450f07f77c421e0b5d19b7bfbf5c019 @exclsr committed Mar 1, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/public/js/controllers/home.js
View
3 app/public/js/controllers/home.js
@@ -26,6 +26,8 @@ function HomeCtrl($scope, $timeout, $document) {
$scope.stories = stories;
$scope.select = function (story) {
+ // TODO: This does NOT work on the story that
+ // was most recently moved.
if (selectedStory) {
selectedStory.isSelected = false;
}
@@ -36,6 +38,7 @@ function HomeCtrl($scope, $timeout, $document) {
var boxId = "boxForStory" + story.id;
var foundBox = document.getElementById(boxId);
if (foundBox) {
+ console.log(foundBox);
// We want this to happen after this method
// finishes.
$timeout(function() {

0 comments on commit 13f2489

Please sign in to comment.