From 1b675ecc7e5ef1e35182a9e53f059c32bc7b231d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 3 Jan 2007 06:54:41 +0000 Subject: [PATCH] Fixes #447, Disable tags and related on abstracts New methods: Item.removeAllRelated() Item.removeAllTags() Also: - Tag selector didn't initialize properly if it was closed when Firefox was started - Items pane would lose open state of items and current scroll position when an item was edited while the tag selector was open -- added save/rememberOpenState() and save/rememberFirstRow() to fix this, and these could also fairly easily be used to remember the open state while switching between collections --- chrome/content/zotero/bindings/noteeditor.xml | 8 +++- .../content/zotero/bindings/tagselector.xml | 2 - chrome/content/zotero/note.js | 4 ++ chrome/content/zotero/overlay.js | 12 ++++- chrome/content/zotero/xpcom/data_access.js | 47 +++++++++++++++++++ chrome/content/zotero/xpcom/itemTreeView.js | 39 +++++++++++++++ .../default/zotero/bindings/noteeditor.css | 4 ++ 7 files changed, 110 insertions(+), 6 deletions(-) create mode 100644 chrome/skin/default/zotero/bindings/noteeditor.css diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml index ab729ffe15..4a5342d073 100644 --- a/chrome/content/zotero/bindings/noteeditor.xml +++ b/chrome/content/zotero/bindings/noteeditor.xml @@ -23,7 +23,12 @@ + + + + + null @@ -103,8 +108,7 @@ - - + diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml index ce929c53af..b37ec3d0c0 100644 --- a/chrome/content/zotero/bindings/tagselector.xml +++ b/chrome/content/zotero/bindings/tagselector.xml @@ -301,8 +301,6 @@