Allow possibly useless multi-character delimiters, so that ahoward stops bothering me
This commit is contained in:
parent
1c429dc33c
commit
e305dff598
2 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,7 @@ var Zotero_Long_Tag_Fixer = new function () {
|
||||||
|
|
||||||
this.init = function () {
|
this.init = function () {
|
||||||
document.getElementById('zotero-old-tag').value = _oldTag;
|
document.getElementById('zotero-old-tag').value = _oldTag;
|
||||||
|
document.getElementById('zotero-old-tag-delimiter').nextSibling.value = 'character'; // TODO: localize
|
||||||
|
|
||||||
var lastMode = Zotero.Prefs.get('lastLongTagMode');
|
var lastMode = Zotero.Prefs.get('lastLongTagMode');
|
||||||
if (!lastMode) {
|
if (!lastMode) {
|
||||||
|
|
|
@ -36,9 +36,10 @@
|
||||||
<vbox>
|
<vbox>
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<label>Split at the </label>
|
<label>Split at the </label>
|
||||||
<textbox id="zotero-old-tag-delimiter" size="1" maxlength="1" value=";"
|
<!-- // TODO: localize -->
|
||||||
oninput="Zotero_Long_Tag_Fixer.updateTagList()"/>
|
<textbox id="zotero-old-tag-delimiter" size="1" value=";"
|
||||||
<label>character</label>
|
oninput="this.nextSibling.value = this.value.length > 1 ? 'characters' : 'character'; Zotero_Long_Tag_Fixer.updateTagList();"/>
|
||||||
|
<label/>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
|
||||||
<separator class="thin"/>
|
<separator class="thin"/>
|
||||||
|
|
Loading…
Reference in a new issue