Merge pull request #610 from aurimasv/attach-link

Attach link from URI fix
This commit is contained in:
Dan Stillman 2015-01-20 13:03:01 -05:00
commit af775e6082
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@
>
<script src="include.js"/>
<script src="AttachLink.js"/>
<script src="attachLink.js"/>
<vbox id="zotero-attach-uri-container">
<hbox>

View File

@ -457,7 +457,8 @@ Zotero.Attachments = new function(){
title = dir[dir.length - 2];
}
}
else {
if (!title) {
title = url;
}
}