diff --git a/chrome/chromeFiles/content/scholar/xpcom/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js index 4f40e0736f..076b5cac9d 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/data_access.js +++ b/chrome/chromeFiles/content/scholar/xpcom/data_access.js @@ -1079,7 +1079,7 @@ Scholar.Item.prototype.getFile = function(){ var file = Components.classes["@mozilla.org/file/local;1"]. createInstance(Components.interfaces.nsILocalFile); - var refDir = (linkMode==this.LINK_MODE_LINKED_FILE) + var refDir = (row['linkMode']==this.LINK_MODE_LINKED_FILE) ? Scholar.getScholarDirectory() : Scholar.getStorageDirectory(); file.setRelativeDescriptor(refDir, row['path']);