From eff310c5c99ff0b2908722eeeecf8ef01fa3dc9e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 5 Oct 2006 02:33:39 +0000 Subject: [PATCH] Closes #294, Checkbox in search dialog to search subfolders recursively Addresses #155, Localize strings - Added "Search subfolders" - Localized strings in search dialog Known issue: #342, "Search subfolders" checkbox should be greyed out until applicable --- .../content/zotero/bindings/zoterosearch.xml | 54 ++++++++++++++----- chrome/locale/en-US/zotero/searchbox.dtd | 7 +++ 2 files changed, 48 insertions(+), 13 deletions(-) diff --git a/chrome/content/zotero/bindings/zoterosearch.xml b/chrome/content/zotero/bindings/zoterosearch.xml index 2479e9816..b3888a634 100644 --- a/chrome/content/zotero/bindings/zoterosearch.xml +++ b/chrome/content/zotero/bindings/zoterosearch.xml @@ -21,6 +21,8 @@ ***** END LICENSE BLOCK ***** --> + + @@ -44,6 +46,11 @@ this.id('joinModeMenu').setAttribute('condition',id); this.id('joinModeMenu').value = conditions[id]['operator']; } + else if(conditions[id]['condition'] == 'recursive') + { + this.id('recursiveCheckbox').setAttribute('condition',id); + this.id('recursiveCheckbox').checked = (conditions[id]['operator']=='true'); + } else { this.addCondition(conditions[id]); @@ -106,6 +113,24 @@ ]]> + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/chrome/locale/en-US/zotero/searchbox.dtd b/chrome/locale/en-US/zotero/searchbox.dtd index 4cb92d30f..133dd202e 100644 --- a/chrome/locale/en-US/zotero/searchbox.dtd +++ b/chrome/locale/en-US/zotero/searchbox.dtd @@ -1,3 +1,10 @@ + + + + + + +