]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/tags.dev.js
Wordpress 3.2
[autoinstalls/wordpress.git] / wp-admin / js / tags.dev.js
index 3273bae347cc46c73994b613ec2b7d495ca93f51..045f2b260a200222721d5bb85cbbbf30c3623976 100644 (file)
@@ -11,7 +11,7 @@ jQuery(document).ready(function($) {
                                        $('#ajax-response').empty();
                                        tr.fadeOut('normal', function(){ tr.remove(); });
                                        // Remove the term from the parent box and tag cloud
-                                       $('select#parent option[value=' + data.match(/tag_ID=(\d+)/)[1] + ']').remove();
+                                       $('select#parent option[value="' + data.match(/tag_ID=(\d+)/)[1] + '"]').remove();
                                        $('a.tag-link-' + data.match(/tag_ID=(\d+)/)[1]).remove();
                                } else if ( '-1' == r ) {
                                        $('#ajax-response').empty().append('<div class="error"><p>' + tagsl10n.noPerm + '</p></div>');