Fix the Quick Copy site editor window

This commit is contained in:
Dan Stillman 2013-08-16 16:28:23 -04:00
parent ff0f649a4d
commit 8e2de92ca8

View file

@ -60,7 +60,7 @@
<menulist id="zotero-quickCopy-menu"/>
<separator class="thin"/>
<checkbox id="zotero-quickCopy-copyAsHTML" label="&zotero.preferences.quickCopy.copyAsHTML;"
oncommand="Zotero_Preferences.Export.buildQuickCopyFormatDropDown(
oncommand="window.opener.Zotero_Preferences.Export.buildQuickCopyFormatDropDown(
document.getElementById('zotero-quickCopy-menu'), this.checked ? 'html' : ''
)"/>
</vbox>
@ -69,12 +69,12 @@
<![CDATA[
var io = window.arguments[0];
document.getElementById('zotero-quickCopy-domain').value = io.domain ? io.domain : '';
Zotero_Preferences.Export.buildQuickCopyFormatDropDown(
window.opener.Zotero_Preferences.Export.buildQuickCopyFormatDropDown(
document.getElementById('zotero-quickCopy-menu'),
Zotero.QuickCopy.getContentType(io.format),
io.format
);
Zotero_Preferences.Export.updateQuickCopyHTMLCheckbox();
window.opener.Zotero_Preferences.Export.updateQuickCopyHTMLCheckbox();
]]>
</script>
</dialog>