www

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

commit 491c44c74c90f643dba33cec6c79cccfd9a0b4f3
parent 3611a4ea308c866a6fb410a8baf7d36ee4cb0e64
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 21 Jul 2011 18:42:26 +0000

Don't append browserSupport when saving if it doesn't exist, since it's unnecessary and screws things up


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

diff --git a/chrome/content/zotero/xpcom/translation/translator.js b/chrome/content/zotero/xpcom/translation/translator.js @@ -354,10 +354,6 @@ Zotero.Translators = new function() { throw ("metadata.lastUpdated not provided in Zotero.Translators.save()"); } - if (!metadata.browserSupport) { - metadata.browserSupport = "g"; - } - if (!code) { throw ("code not provided in Zotero.Translators.save()"); }