summaryrefslogtreecommitdiff
path: root/modules/tag/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-25 09:08:33 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-25 09:08:33 -0800
commit454a96f48fbfbf5764cf586c02539e2d01b56101 (patch)
tree37f0b70e3eada21ec109ea14da9d23a581c91955 /modules/tag/views
parent4c3b9e363ab1501bf3169d92f5606abf464c2d5e (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.php4
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();
}