summaryrefslogtreecommitdiff
path: root/modules/tag/js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-06 07:34:56 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-06 07:34:56 -0800
commita2d5d8091f68263812624f8ed1092cbf5338e744 (patch)
treec03f8a4591752aca0fb8cdec37d1ce8e9a1d9064 /modules/tag/js
parent04c10a0720b57bc4b6273ea7127d9880c2c28354 (diff)
The ajaxify_tag_form was not being called when the block was created. Moved the code to ajaxify the add form into the block html and deleted tag.js. Fixes Ticket #872
Diffstat (limited to 'modules/tag/js')
-rw-r--r--modules/tag/js/tag.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/tag/js/tag.js b/modules/tag/js/tag.js
deleted file mode 100644
index 4760084d..00000000
--- a/modules/tag/js/tag.js
+++ /dev/null
@@ -1,13 +0,0 @@
-function ajaxify_tag_form() {
- $("#g-tag form").ajaxForm({
- dataType: "json",
- success: function(data) {
- if (data.result == "success") {
- $.get($("#g-tag-cloud").attr("title"), function(data, textStatus) {
- $("#g-tag-cloud").html(data);
- });
- }
- $("#g-tag form").resetForm();
- }
- });
-}