diff options
| author | Chad Kieffer <ckieffer@gmail.com> | 2009-10-18 20:22:10 -0600 | 
|---|---|---|
| committer | Chad Kieffer <ckieffer@gmail.com> | 2009-10-18 20:22:10 -0600 | 
| commit | 5f56cbf997c12ab1aaf14403873fd9dfc33690ef (patch) | |
| tree | 0120ffbad2e7ac728fd830ccbb9d71db28ca48b1 /modules/tag/js | |
| parent | 91ab6f161fa1e118418922fbf0a42f1924d7df0e (diff) | |
Wrap all admin views in g-block and g-block content. This provides the means to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's.
Diffstat (limited to 'modules/tag/js')
| -rw-r--r-- | modules/tag/js/tag.js | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/js/tag.js b/modules/tag/js/tag.js index 41fa4d41..4ed88e03 100644 --- a/modules/tag/js/tag.js +++ b/modules/tag/js/tag.js @@ -37,7 +37,7 @@ function editInPlace(element) {    closeEditInPlaceForms();    // create edit form -  var tag_id = $(this).attr('id').substr(5); +  var tag_id = $(this).attr('rel');    var tag_name = $(this).html();    var tag_width = $(this).width();    $(this).parent().data("revert", $(this).parent().html()); @@ -67,7 +67,7 @@ function editInPlace(element) {      console.log("success");          if (data.result == "success") {            closeEditInPlaceForms(); // close form -          $("#g-tag-" + data.tag_id).text(data.new_tagname); // update tagname +          $(".g-tag[rel=" + data.tag_id + "]").text(data.new_tagname); // update tagname            window.location.reload();          } else if (data.result == "error") {      console.log("error");  | 
