fixes #78: While editing a translation note, cannot see contents of other notes
This commit is contained in:
@@ -258,8 +258,7 @@ Danbooru.Note = {
|
|||||||
$dialog.append($textarea);
|
$dialog.append($textarea);
|
||||||
$dialog.data("id", $note_body.data("id"));
|
$dialog.data("id", $note_body.data("id"));
|
||||||
$dialog.dialog({
|
$dialog.dialog({
|
||||||
modal: true,
|
width: 350,
|
||||||
width: 300,
|
|
||||||
dialogClass: "note-edit-dialog",
|
dialogClass: "note-edit-dialog",
|
||||||
title: "Edit note",
|
title: "Edit note",
|
||||||
buttons: {
|
buttons: {
|
||||||
@@ -274,7 +273,7 @@ Danbooru.Note = {
|
|||||||
$(".note-box").resizable("enable");
|
$(".note-box").resizable("enable");
|
||||||
$(".note-box").draggable("enable");
|
$(".note-box").draggable("enable");
|
||||||
});
|
});
|
||||||
Danbooru.Note.editing = true;
|
// Danbooru.Note.editing = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
parameterize_note: function($note_box, $note_body) {
|
parameterize_note: function($note_box, $note_body) {
|
||||||
|
|||||||
0
app/views/posts/revert.js.erb
Normal file
0
app/views/posts/revert.js.erb
Normal file
Reference in New Issue
Block a user