diff -rc suggestedterms/suggestedterms.js suggestedterms-RH/suggestedterms.js
*** suggestedterms/suggestedterms.js 2008-10-10 03:52:35.000000000 +1000
--- suggestedterms-RH/suggestedterms.js 2009-04-15 15:50:11.000000000 +1000
***************
*** 11,17 ****
.addClass($(this).attr('class'))
.bind('click', function(event) {
event.preventDefault();
! var input = $(this).parent().siblings('input');
var text = $(this).text();
if (((', ' + input.val() + ',').indexOf(', ' + text + ',') < 0) && ((', ' + input.val() + ',').indexOf(', "' + text + '",') < 0)) {
if ((input.val()).length > 0) {
--- 11,18 ----
.addClass($(this).attr('class'))
.bind('click', function(event) {
event.preventDefault();
! // var input = $(this).parent().siblings('input');
! var input = $(this).parent().parent().siblings('input');
var text = $(this).text();
if (((', ' + input.val() + ',').indexOf(', ' + text + ',') < 0) && ((', ' + input.val() + ',').indexOf(', "' + text + '",') < 0)) {
if ((input.val()).length > 0) {
diff -rc suggestedterms/suggestedterms.module suggestedterms-RH/suggestedterms.module
*** suggestedterms/suggestedterms.module 2008-10-10 03:58:17.000000000 +1000
--- suggestedterms-RH/suggestedterms.module 2009-04-15 16:16:49.000000000 +1000
***************
*** 112,118 ****
break;
}
// Build the suggested terms and set in description tag.
! $form['taxonomy']['tags'][$vid]['#description'] .= "
\n". t($tag_description) . ': ' . _suggestedterms_build_suggestions($vid, $sort_order);
}
}
}
--- 112,119 ----
break;
}
// Build the suggested terms and set in description tag.
! $form['taxonomy']['tags'][$vid]['#description'] .= "
\n