allow folders as well as groups to open as tabs in a new window (bug 228803)

This commit is contained in:
pinkerton%aol.net 2004-01-07 21:54:43 +00:00
Родитель fbb37fff5d
Коммит d4f3c00cb9
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -162,12 +162,8 @@
BookmarkItem *item = [self BookmarkItem];
if ([item isKindOfClass:[Bookmark class]])
[brController openNewWindowWithURL:[(Bookmark *)item url] referrer: nil loadInBackground: loadInBackground];
// if we get to this else, we better be a group. check just in case i'm wrong.
else if ([item isKindOfClass:[BookmarkFolder class]]) {
if ([(BookmarkFolder *)item isGroup]) {
[brController openNewWindowWithGroupURLs:[(BookmarkFolder *)item childURLs] loadInBackground: loadInBackground];
}
}
else if ([item isKindOfClass:[BookmarkFolder class]])
[brController openNewWindowWithGroupURLs:[(BookmarkFolder *)item childURLs] loadInBackground: loadInBackground];
return;
}