summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/tag/css/tag.css7
-rw-r--r--modules/tag/js/tag.js4
2 files changed, 3 insertions, 8 deletions
diff --git a/modules/tag/css/tag.css b/modules/tag/css/tag.css
index ec16251d..6e7bb4a3 100644
--- a/modules/tag/css/tag.css
+++ b/modules/tag/css/tag.css
@@ -92,9 +92,4 @@
#g-rename-tag-form ul {
margin-bottom: 0;
-}
-
-#g-rename-tag-form input[type="text"].g-error {
- border: 2px solid red;
- background: none;
-}
+} \ No newline at end of file
diff --git a/modules/tag/js/tag.js b/modules/tag/js/tag.js
index 02985d55..722a8b0e 100644
--- a/modules/tag/js/tag.js
+++ b/modules/tag/js/tag.js
@@ -19,7 +19,7 @@ function ajaxify_tag_form() {
function closeEditInPlaceForms() {
// closes currently open inplace edit forms
if ($("#g-rename-tag-form").length) {
- $("#g-edit-error-message").remove();
+ $("#g-action-status").remove();
var li = $("#g-rename-tag-form").parent();
$("#g-rename-tag-form").parent().html($("#g-rename-tag-form").parent().data("revert"));
li.height("");
@@ -74,7 +74,7 @@ function editInPlace(element) {
$("#g-rename-tag-form #name")
.addClass("g-error")
.focus();
- $("#g-tag-admin").before("<p id=\"g-edit-error-message\" class=\"g-error\">" + data.message + "</p>");
+ $("#g-tag-admin").before("<p id=\"g-action-status\" class=\"g-message-block g-error\">" + data.message + "</p>");
}
}
});