From a2d5d8091f68263812624f8ed1092cbf5338e744 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 6 Nov 2009 07:34:56 -0800 Subject: 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 --- modules/tag/js/tag.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 modules/tag/js/tag.js (limited to 'modules/tag/js') 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(); - } - }); -} -- cgit v1.2.3