commit 337ff9005616557328a95f09d10a1a5b4f06fa95
parent e64f5b2c83cfa33c41bf459f4bce23867f2775c8
Author: Simon Kornblith <simon@simonster.com>
Date: Fri, 19 Aug 2011 20:16:13 +0000
Don't open a new Firefox window when Standalone is closed if Firefox is open and Zotero for Firefox is not installed
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/ipc.js b/chrome/content/zotero/xpcom/ipc.js
@@ -208,7 +208,7 @@ Zotero.IPC = new function() {
Zotero.debug('IPC: Broadcasting "'+msg+'" to window "'+appName+'MessageWindow"');
// allocate message
- var data = ctypes.char.array()('firefox.exe -ZoteroIPC "'+msg.replace('"', '""', "g")+'"\x00C:\\');
+ var data = ctypes.char.array()('firefox.exe -silent -ZoteroIPC "'+msg.replace('"', '""', "g")+'"\x00C:\\');
var dataSize = data.length*data.constructor.size;
// create new COPYDATASTRUCT