diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-25 09:08:33 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-25 09:08:33 -0800 |
commit | 454a96f48fbfbf5764cf586c02539e2d01b56101 (patch) | |
tree | 37f0b70e3eada21ec109ea14da9d23a581c91955 /modules/tag/views | |
parent | 4c3b9e363ab1501bf3169d92f5606abf464c2d5e (diff) |
Refactor the tags to remove the REST_Controller. Partial fix for ticket #917
Diffstat (limited to 'modules/tag/views')
-rw-r--r-- | modules/tag/views/tag_block.html.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php index 00b57360..8b887282 100644 --- a/modules/tag/views/tag_block.html.php +++ b/modules/tag/views/tag_block.html.php @@ -14,9 +14,7 @@ dataType: "json", success: function(data) { if (data.result == "success") { - $.get($("#g-tag-cloud").attr("ref"), function(data, textStatus) { - $("#g-tag-cloud").html(data); - }); + $("#g-tag-cloud").html(data.cloud); } $("#g-add-tag-form").resetForm(); } |