commit cf54a5da341785b36146cc82d208e21560d47b27 parent 69d35f97b044f9e7d8c60365c37e6c5c31ce1406 Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 19 Mar 2013 02:22:23 -0400 Fix code style Refs #274 Diffstat:
| M | chrome/content/zotero/xpcom/data/item.js | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -591,7 +591,9 @@ Zotero.Item.prototype.setType = function(itemTypeID, loadIn) { this._itemDataLoaded = false; } else { - if(oldItemTypeID) this._markFieldChange('itemType', Zotero.ItemTypes.getName(oldItemTypeID)); + if (oldItemTypeID) { + this._markFieldChange('itemType', Zotero.ItemTypes.getName(oldItemTypeID)); + } if (!this._changedPrimaryData) { this._changedPrimaryData = {}; }