Using jQuery selectors etc would:
* make the code smaller, e.g. $('.edit-remove-text').val(decodeURIComponent('foo')); instead of document.getElementById('edit-remove-text').value = decodeURIComponent('foo');
* Make it easier to add additional dynamic functionality, e.g. client-side validation.

Comments

damienmckenna’s picture

Correction, that should be:
$('#edit-remove-text').val(decodeURIComponent('foo'));

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new1.56 KB

Initial patch.

damienmckenna’s picture

StatusFileSize
new1.81 KB

Here's a patch for the taxonomy_redirect.js file.

agileware’s picture

Status: Needs review » Fixed

Thanks for this patch.

I have applied this now. It should be in the dev version sometime today and then in the next release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.