Fixed bug that was breaking Scholar.Files.getFile()
This commit is contained in:
parent
d815154efa
commit
892478be2e
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue