批量导出html成功, 待添加到notebook上

This commit is contained in:
life
2015-10-24 15:30:46 +08:00
parent 51174399d2
commit 5f2ad33ffa
8 changed files with 167 additions and 36 deletions

View File

@@ -2319,8 +2319,14 @@ Note.initContextmenu = function() {
var menuItem = new gui.MenuItem({
label: menu.label,
click: function(e) {
var note = Note.getNote($(self.target).attr('noteId'));
clickBac && clickBac(note);
if (Note.inBatch) {
var noteIds = Note.getBatchNoteIds();
}
else {
var noteIds = [$(self.target).attr('noteId')];
}
// var note = Note.getNote();
clickBac && clickBac(noteIds);
}
});