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

This commit is contained in:
Simon Kornblith 2011-07-21 18:42:26 +00:00
parent 3611a4ea30
commit 491c44c74c

View file

@ -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()");
}