choose notebook to add note/markdown [ok]

This commit is contained in:
iiuazz
2014-09-11 18:55:42 +08:00
parent dc2435a83d
commit 883ea1da62
11 changed files with 3717 additions and 61 deletions

View File

@ -1288,7 +1288,7 @@ $(function() {
});
$("#notebookNavForNewNote").on("click", "li div", function() {
var notebookId = $(this).attr("notebookId");
if($(this).text() == "Markdown") {
if($(this).hasClass("new-note-right")) {
Note.newNote(notebookId, false, "", true);
} else {
Note.newNote(notebookId);