Skip to content
Browse files

"Add new tag" reacts to pressing Enter

Also change error from red to maroon, since it signifies deletion and not an error
  • Loading branch information...
1 parent a2c4a45 commit 2709341e514e50c6f1e8d24f104181cae4e37f41 @lastorset committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 design/standard/stylesheets/ntags.css
  2. +2 −2 design/standard/templates/utils/multitag.tpl
View
2 design/standard/stylesheets/ntags.css
@@ -120,7 +120,7 @@ td.tags label.new {
}
td.tags label.delete {
- background-color: red;
+ background-color: maroon;
color: white;
}
View
4 design/standard/templates/utils/multitag.tpl
@@ -50,12 +50,12 @@
<input type="submit" class="button" id="nTagsEditChildren" value="{"Edit tags"|i18n("ntags/admin/view")}" />
<input type="submit" class="button nTagsEditControls" id="nTagsSave" value="{"Save tags"|i18n("ntags/admin/view")}" />
</div>
- <div id="nTagsAddTagDiv" class="nTagsEditControls">
+ <form id="nTagsAddTagDiv" class="nTagsEditControls">
<input type="submit" class="button nTagsEditControls" id="nTagsAddTag" value="{"Add tags"|i18n("ntags/admin/view")}" />
<input type="text" id="nTagsNewTag" placeholder="{"Separate with commas"|i18n("ntags/admin/view")}"/>
<input type="checkbox" id="nTagsNewTagChecked"/>
<label for="nTagsNewTagChecked">{"Apply the new tag to all items"|i18n("ntags/admin/view")}</label>
- </div>
+ </form>
{/if}
<table class="list" cellspacing="0">

0 comments on commit 2709341

Please sign in to comment.
Something went wrong with that request. Please try again.