diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-23 10:23:00 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-23 10:23:00 -0700 |
commit | 070884d9e248ba692e49949851099e4d79285ef2 (patch) | |
tree | 566d9d63b6471e6d80c10565b3008dc94b1a6c3b | |
parent | ac23b9be185d98e3b672dc4c9051dba1ec9d10fc (diff) |
Fix for ticket #496. replace the src attribute (non standard) with the title attribute to contain the url of the tag cloud controller.
-rw-r--r-- | modules/tag/js/tag.js | 2 | ||||
-rw-r--r-- | modules/tag/views/tag_block.html.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/js/tag.js b/modules/tag/js/tag.js index a1eaeecd..a5aaa3f8 100644 --- a/modules/tag/js/tag.js +++ b/modules/tag/js/tag.js @@ -7,7 +7,7 @@ function ajaxify_tag_form() { dataType: "json", success: function(data) { if (data.result == "success") { - $.get($("#gTagCloud").attr("src"), function(data, textStatus) { + $.get($("#gTagCloud").attr("title"), function(data, textStatus) { $("#gTagCloud").html(data); }); } diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php index 9c8f3de5..12c90857 100644 --- a/modules/tag/views/tag_block.html.php +++ b/modules/tag/views/tag_block.html.php @@ -1,5 +1,5 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<div id="gTagCloud" src="<?= url::site("tags") ?>"> +<div id="gTagCloud" title="<?= url::site("tags") ?>"> <?= $cloud ?> </div> <?= $form ?>
\ No newline at end of file |