Add warning to citation/bibliography editor
This commit is contained in:
parent
b6af89309d
commit
4adc606c48
3 changed files with 6 additions and 0 deletions
|
@ -339,7 +339,9 @@ var Zotero_Citation_Dialog = new function () {
|
|||
* Shows the edit pane
|
||||
*/
|
||||
function toggleEditor(text) {
|
||||
var warning = document.getElementById('zotero-editor-warning');
|
||||
var editor = document.getElementById('editor');
|
||||
warning.hidden = _previewShown;
|
||||
editor.hidden = _previewShown;
|
||||
_previewShown = !_previewShown;
|
||||
|
||||
|
|
|
@ -199,5 +199,7 @@
|
|||
</vbox>
|
||||
|
||||
<textbox id="editor" type="styled" mode="integration" hidden="true" flex="1"/>
|
||||
<!-- TODO: localize -->
|
||||
<description id="zotero-editor-warning" style="margin: 9px 1px 0" hidden="true">Warning: If you edit a citation in the editor it will no longer update to reflect changes in your database or the citation style.</description>
|
||||
</vbox>
|
||||
</dialog>
|
||||
|
|
|
@ -115,5 +115,7 @@
|
|||
</vbox>
|
||||
|
||||
<textbox id="editor" type="styled" mode="integration" flex="1"/>
|
||||
<!-- TODO: localize -->
|
||||
<description id="zotero-editor-warning" style="margin: 9px 1px 0">Warning: If you edit a citation in the editor it will no longer update to reflect changes in your database or the citation style.</description>
|
||||
</vbox>
|
||||
</dialog>
|
||||
|
|
Loading…
Reference in a new issue