Skip to content

Commit

Permalink
move checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed May 24, 2015
1 parent a3228fc commit c40fa61
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
26 changes: 22 additions & 4 deletions chrome/content/zotero-better-bibtex/preferences_advanced.xul
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@

<tabbox id="zotero-prefpane-advanced-tabs">
<tabpanels id="zotero-prefpane-advanced-tabpanels">
<tabpanel id="zotero-prefpane-advanced-general-tab" orient="vertical">
<tabpanel id="zotero-prefpane-advanced-general-tab">

<groupbox>
<caption label="&zotero.better-bibtex.preferences.debugOutputLogging;"/>
<hbox align="center">
<groupbox id="zotero-prefpane-advanced-miscellaneous">
<hbox id="better-bibtex-preferences-advanced" align="center">
<button label="&zotero.better-bibtex.reportErrors;" oncommand="Zotero.BetterBibTeX.reportErrors()"/>
<checkbox label="&zotero.better-bibtex.debug;" preference="pref-better-bibtex-debug"/>
</hbox>
Expand All @@ -33,4 +32,23 @@
<script src="chrome://zotero/content/include.js"/>
<script src="chrome://zotero-better-bibtex/content/include.js"/>
<script src="chrome://zotero-better-bibtex/content/preferences.js"/><!-- needs to be included every time anew to bind windows and document -->
<script type="application/javascript">
<![CDATA[
function layout() {
var tabpanel = document.getElementById('zotero-prefpane-advanced-general-tab');
var groupbox;
var i;
var l = tabpanel.children.length;
var elt;
for (i = 0; i < l; i++) {
elt = tabpanel.children[i];
if (elt.nodeName != 'groupbox') { continue; }
groupbox = elt;
break;
}
groupbox.appendChild(document.getElementById('better-bibtex-preferences-advanced'))
}
window.addEventListener('load', layout, false);
]]>
</script>
</overlay>
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@
<!ENTITY zotero.better-bibtex.rescan-citekeys "Re-scan pinned citekeys after restart">

<!ENTITY zotero.better-bibtex.preferences.debugOutputLogging "ZotPlus Debug Output">
<!ENTITY zotero.better-bibtex.debug "ZotPlus extended debug logging. Restart to activate, persists over reboots. Affects performance, so turn off when done.">
<!ENTITY zotero.better-bibtex.debug "ZotPlus extended debug logging. Restart Firefox/Zotero to activate, persists over reboots. Affects performance, so turn off when done.">

0 comments on commit c40fa61

Please sign in to comment.