Don't open a new Firefox window when Standalone is closed if Firefox is open and Zotero for Firefox is not installed

This commit is contained in:
Simon Kornblith 2011-08-19 20:16:13 +00:00
parent e64f5b2c83
commit 337ff90056

View file

@ -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