Fix tag not disappearing on removal from item if tag selector is closed
This commit is contained in:
parent
07c450acbf
commit
17fae0d657
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user