posts: show ratings in tag edit dialog box.

* Show the rating buttons in the tag edit dialog box.
* Fix the tag counter not showing up in the tag edit dialog box on the
  uploads page.
This commit is contained in:
evazion
2020-08-05 12:23:31 -05:00
parent 605b4eff2a
commit ef9bc37d9e
3 changed files with 9 additions and 5 deletions

View File

@@ -104,7 +104,6 @@ Post.open_edit_dialog = function() {
$("#post-edit-link").parent("li").addClass("active");
var $tag_string = $("#post_tag_string,#upload_tag_string");
$("div.input").has($tag_string).prevAll().hide();
$("#open-edit-dialog").hide();
var dialog = $("<div/>").attr("id", "edit-dialog");

View File

@@ -80,8 +80,13 @@ table article.post-preview {
margin-top: 1em;
}
#edit-dialog textarea {
margin-bottom: 0.25em;
#edit-dialog {
/* Hide everything but the rating and tags fields. */
.post_has_embedded_notes_fieldset, .post_lock_fieldset, .post_parent_id,
.post_source, #filedropzone, .upload_as_pending, .upload_source_container,
.upload_parent_id, .upload_artist_commentary_container {
display: none;
}
}
.post-preview {