From cd26267afeaa8b06987bca93e8de03349ad1bd5b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 5 Oct 2006 00:59:26 +0000 Subject: [PATCH] Closes #340, Change isInstitution to fieldMode everywhere Including in the DB, which it turns out isn't really all that bad (thanks, among other things, to SQLite's ability to DROP tables within transactions without autocommitting (which MySQL can't do)) --- chrome/content/zotero/itemPane.js | 4 +- chrome/content/zotero/xpcom/data_access.js | 61 +++++++++------------- chrome/content/zotero/xpcom/ingester.js | 2 +- chrome/content/zotero/xpcom/schema.js | 9 ++++ components/chnmIZoteroAutoComplete.js | 6 +-- scrapers.sql | 14 ++--- userdata.sql | 4 +- 7 files changed, 50 insertions(+), 50 deletions(-) diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js index a58fd7c657..6ca7cb2710 100644 --- a/chrome/content/zotero/itemPane.js +++ b/chrome/content/zotero/itemPane.js @@ -247,7 +247,7 @@ var ZoteroItemPane = new function() for(var i = 0, len=_itemBeingEdited.numCreators(); i