Fix tag not disappearing on removal from item if tag selector is closed

This commit is contained in:
Dan Stillman 2010-12-13 22:28:45 +00:00
parent 07c450acbf
commit 17fae0d657

View File

@ -133,7 +133,7 @@
return tags.length; return tags.length;
} }
this.updateCount(); this.updateCount(0);
return 0; return 0;
]]> ]]>
</body> </body>
@ -529,6 +529,7 @@
<body> <body>
<![CDATA[ <![CDATA[
this.item.removeTag(id); this.item.removeTag(id);
this.reload();
]]> ]]>
</body> </body>
</method> </method>
@ -538,8 +539,7 @@
<parameter name="count"/> <parameter name="count"/>
<body> <body>
<![CDATA[ <![CDATA[
if(count == null) if(count === null) {
{
var tags = this.item.getTags(); var tags = this.item.getTags();
if(tags) if(tags)
count = tags.length; count = tags.length;