commit 171d072f313e3cc1a36301f61895d27372d27858
parent 7e6784a7390dcb9b6bdda27136877d89fe92c4ea
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 22 Sep 2009 20:27:26 +0000
Add oscpu to error reports
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -206,6 +206,7 @@ var Zotero = new function(){
this.isMac = (this.platform.substr(0, 3) == "Mac");
this.isWin = (this.platform.substr(0, 3) == "Win");
this.isLinux = (this.platform.substr(0, 5) == "Linux");
+ this.oscpu = win.navigator.oscpu;
// Locale
var ph = Components.classes["@mozilla.org/network/protocol;1?name=http"].
@@ -716,6 +717,7 @@ var Zotero = new function(){
var info = {
version: Zotero.version,
platform: Zotero.platform,
+ oscpu: Zotero.oscpu,
locale: Zotero.locale,
appName: appInfo.name,
appVersion: appInfo.version,