download attach
This commit is contained in:
@ -480,7 +480,7 @@ function log(o) {
|
|||||||
<span class="fa fa-save"></span></a></li>
|
<span class="fa fa-save"></span></a></li>
|
||||||
|
|
||||||
<li class="dropdown" id="noteInfoDropdown">
|
<li class="dropdown" id="noteInfoDropdown">
|
||||||
<a class="ios7-a dropdown-toggle" data-toggle="dropdown" id="showAttach" title="{{msg . "Information"}}">
|
<a class="ios7-a dropdown-toggle" data-toggle="dropdown" title="{{msg . "Information"}}">
|
||||||
<span class="fa fa-info"></span>
|
<span class="fa fa-info"></span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu" id="noteInfo"></div>
|
<div class="dropdown-menu" id="noteInfo"></div>
|
||||||
|
@ -1612,11 +1612,11 @@ var Attach = {
|
|||||||
self.attachListO.on("click", ".download-attach", function(e) {
|
self.attachListO.on("click", ".download-attach", function(e) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
var attachId = $(this).closest('li').data("id");
|
var attachId = $(this).closest('li').data("id");
|
||||||
Note.download(UrlPrefix + "/attach/download", {attachId:attachId});
|
Note.download("/attach/download", {attachId:attachId});
|
||||||
});
|
});
|
||||||
// 下载全部
|
// 下载全部
|
||||||
self.downloadAllBtnO.click(function() {
|
self.downloadAllBtnO.click(function() {
|
||||||
Note.download(UrlPrefix + "/attach/downloadAll", {noteId: Note.curNoteId});
|
Note.download("/attach/downloadAll", {noteId: Note.curNoteId});
|
||||||
});
|
});
|
||||||
|
|
||||||
// make link
|
// make link
|
||||||
|
Reference in New Issue
Block a user