diff options
| author | Chad Kieffer <ckieffer@gmail.com> | 2009-10-20 20:56:14 -0600 |
|---|---|---|
| committer | Chad Kieffer <ckieffer@gmail.com> | 2009-10-20 20:56:14 -0600 |
| commit | 1dd4e4a4277f77c1055911ca7d64130aaf026810 (patch) | |
| tree | 132af184afee9be722f5f7d5fbbd00744f69397b /modules | |
| parent | ba2d4b923b3786495eede2098906399224f4f262 (diff) | |
Update tag error messages to use g-action-status and g-message-block. Style g-error for short forms.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/tag/css/tag.css | 7 | ||||
| -rw-r--r-- | modules/tag/js/tag.js | 4 |
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>"); } } }); |
