Fixes #625, my library tags grayed out if attached to notes only

Does this break anything else?
This commit is contained in:
Dan Stillman 2007-05-07 18:29:58 +00:00
parent 19096f6318
commit e7ca139860

View File

@ -900,6 +900,7 @@ Zotero.ItemGroup.prototype.getSearchObject = function() {
var s = new Zotero.Search();
if (this.isLibrary()) {
s.addCondition('noChildren', 'true');
includeScopeChildren = true;
}
else if (this.isCollection()) {
s.addCondition('noChildren', 'true');