Always show "Reindex item", even if item is indexed, and flicker the refresh icon briefly on click to show that it's doing something
This commit is contained in:
parent
468cd16534
commit
0df7f4afd4
|
@ -508,7 +508,7 @@
|
|||
|
||||
<hbox id="index-box">
|
||||
<label id="index-status"/>
|
||||
<toolbarbutton id="reindex" oncommand="ZoteroPane.reindexItem()"/>
|
||||
<toolbarbutton id="reindex" oncommand="this.hidden = true; setTimeout(function () { ZoteroPane.reindexItem(); }, 50)"/>
|
||||
</hbox>
|
||||
|
||||
<zoteronoteeditor id="note-editor" notitle="1" flex="1"/>
|
||||
|
|
|
@ -830,6 +830,9 @@ Zotero.Fulltext = new function(){
|
|||
case this.INDEX_STATE_UNAVAILABLE:
|
||||
case this.INDEX_STATE_UNINDEXED:
|
||||
case this.INDEX_STATE_PARTIAL:
|
||||
|
||||
// TODO: automatically reindex already-indexed attachments?
|
||||
case this.INDEX_STATE_INDEXED:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user