Addresses #1027, User-customizable integration port number

Moved port setting to extensions.zotero.integration.port
This commit is contained in:
Dan Stillman 2008-05-27 18:52:08 +00:00
parent 4cfdee3fa0
commit 67b8fd5ff2
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Zotero.Integration = new function() {
try {
// bind to a random port on loopback only
serv.init(50001, true, -1);
serv.init(Zotero.Prefs.get('integration.port'), true, -1);
serv.asyncListen(Zotero.Integration.SocketListener);
Zotero.debug("Integration HTTP server listening on 127.0.0.1:"+serv.port);

View File

@ -66,6 +66,7 @@ pref("extensions.zotero.export.citePaperJournalArticleURL", false);
pref("extensions.zotero.export.quickCopy.setting", 'bibliography=http://www.zotero.org/styles/chicago-note');
// Integration settings
pref("extensions.zotero.integration.port", 50001);
pref("extensions.zotero.integration.autoRegenerate", -1); // -1 = ask; 0 = no; 1 = yes
// Annotation settings