commit 17fae0d6572cdc7289956748f620b53d8076dfa3
parent 07c450acbf216bee15f141309c19d0bb435c45fb
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 13 Dec 2010 22:28:45 +0000
Fix tag not disappearing on removal from item if tag selector is closed
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml
@@ -133,7 +133,7 @@
return tags.length;
}
- this.updateCount();
+ this.updateCount(0);
return 0;
]]>
</body>
@@ -529,6 +529,7 @@
<body>
<![CDATA[
this.item.removeTag(id);
+ this.reload();
]]>
</body>
</method>
@@ -538,8 +539,7 @@
<parameter name="count"/>
<body>
<![CDATA[
- if(count == null)
- {
+ if(count === null) {
var tags = this.item.getTags();
if(tags)
count = tags.length;