Don't close edit field on preview

And show the note body
#1426
This commit is contained in:
Lightforger
2013-05-02 06:04:32 +03:00
parent c0afec255c
commit 96dca8e67e

View File

@@ -372,7 +372,7 @@ Danbooru.Note = {
var $note_body = Danbooru.Note.Body.find(id);
var text = $textarea.val();
Danbooru.Note.Body.set_text($note_body, text);
$this.dialog("close");
$note_body.show();
},
cancel: function() {