Permalink
Browse files

Merge branch 'master' of github.com:Me1000/Githubissues

  • Loading branch information...
2 parents d5be367 + 074bcd2 commit 10a6622f155498bdb1e567915e94b860ebf96457 @Me1000 committed Apr 29, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 ISWindow.j
View
@@ -209,7 +209,7 @@ var SharedNewRepoWindow = nil;
{
if (!CGSizeEqualToSize(currentFrame.size, CGSizeMake(381, 365)))
{
-
+
var visible = [CPPlatform isBrowser] ? [[self platformWindow] visibleFrame] : [[[CPScreen alloc] init] visibleFrame],
realY = (currentFrame.origin.y + 364 > visible.size.height) ? visible.size.height - 364 : currentFrame.origin.y,
y = MAX(realY,0),
@@ -222,6 +222,7 @@ var SharedNewRepoWindow = nil;
if (!scrollview)
{
suggestedReposController = [[CPArrayController alloc] init];
+ [suggestedReposController setAvoidsEmptySelection:NO];
// FIX ME: use HUD style.
scrollview = [[CPScrollView alloc] initWithFrame:CGRectMake(11, 100, 356, 200)];
@@ -330,7 +331,7 @@ var SharedNewRepoWindow = nil;
var slashPosition = [repoNameField stringValue].indexOf("/");
enabled = ([[repoNameField stringValue] length] > 2 && slashPosition !== CPNotFound && slashPosition !== 0 && slashPosition !== [[repoNameField stringValue] length] -1);
- return enabled;
+ return enabled;
}
- (void)sendEvent:(CPEvent)anEvent

0 comments on commit 10a6622

Please sign in to comment.