This commit is contained in:
Toks
2014-07-12 18:04:30 -04:00
parent a896e8704b
commit e9c747dca3

View File

@@ -327,6 +327,11 @@ Danbooru.Note = {
"History": Danbooru.Note.Edit.history
}
});
$dialog.data("uiDialog")._title = function(title) {
title.html(this.options.title); // Allow unescaped html in dialog title
}
$dialog.dialog("option", "title", 'Edit note (<a href="/wiki_pages/help:notes">view help</a>)');
$dialog.bind("dialogclose", function() {
Danbooru.Note.editing = false;
$(".note-box").resizable("enable");