commit 892478be2ed11494f83723dafdaf5146910bfa47
parent d815154efa674d3ed8dc527743a1ed614e34cdc6
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 10 Aug 2006 22:44:45 +0000
Fixed bug that was breaking Scholar.Files.getFile()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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']);