www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a3ce940fd6cb3c8f72cb957337db1016c170f493
parent a5365bb9386ca087129e12f79be4500a965ec1a2
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon,  4 Oct 2010 01:32:28 +0000

activate the appropriate app with Zotero standalone


Diffstat:
Mchrome/content/zotero/xpcom/integration.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -331,9 +331,9 @@ Zotero.Integration = new function() { if(Zotero.isMac) { if(Zotero.oscpu == "PPC Mac OS X 10.4" || Zotero.oscpu == "Intel Mac OS X 10.4") { // 10.4 doesn't support "tell application id" - _executeAppleScript('tell application "Firefox" to activate'); + _executeAppleScript('tell application "'+(Zotero.isStandalone ? "Zotero" : "Firefox")+'" to activate'); } else { - _executeAppleScript('tell application id "org.mozilla.firefox" to activate'); + _executeAppleScript('tell application id "'+(Zotero.isStandalone ? "org.zotero.zotero" : "org.mozilla.firefox")+'" to activate'); } } }