Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: sproutit/sproutcore
...
head fork: vibes/sproutcore
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 0 deletions.
  1. +2 −0  frameworks/foundation/controllers/tree.js
View
2  frameworks/foundation/controllers/tree.js
@@ -115,6 +115,8 @@ SC.TreeController = SC.ObjectController.extend(SC.SelectionSupport,
if (!objects) return null; // fast track
indexes = objects.contentGroupIndexes(null, objects);
+ if (indexes === null) return null;
+
len = objects.get('length');
while(indexes.contains(idx) && (idx<len)) idx++;
return idx>=len ? null : objects.objectAt(idx);

No commit comments for this range

Something went wrong with that request. Please try again.