attach fix download url

This commit is contained in:
life
2014-09-22 22:31:56 +08:00
parent 5a2274328b
commit 95af247cdc
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1365,7 +1365,7 @@ var Attach = {
if(!note) {
return;
}
var src = "/attach/downloadAll?noteId=" + Note.curNoteId
var src = UrlPrefix + "/attach/downloadAll?noteId=" + Note.curNoteId
var title = note.Title ? note.Title + ".tar.gz" : "all.tar.gz";
if(LEA.isMarkdownEditor() && MarkdownEditor) {