Ticket #19176: 19176.diff
| File 19176.diff, 1.0 KB (added by , 15 years ago) |
|---|
-
wp-admin/js/inline-edit-post.dev.js
181 181 }); 182 182 //flat taxonomies 183 183 $('.tags_input', rowData).each(function(){ 184 var terms = $(this).text(); 184 var terms = $(this).text(), 185 taxname = $(this).attr('id').replace('_'+id, ''), 186 textarea = $('textarea.tax_input_' + taxname, editRow); 185 187 186 if ( terms ) { 187 taxname = $(this).attr('id').replace('_'+id, ''); 188 $('textarea.tax_input_'+taxname, editRow).val(terms); 189 $('textarea.tax_input_'+taxname, editRow).suggest( 'admin-ajax.php?action=ajax-tag-search&tax='+taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: ", " } ); 190 } 188 if ( terms ) 189 textarea.val(terms); 190 191 textarea.suggest( 'admin-ajax.php?action=ajax-tag-search&tax='+taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: ", " } ); 191 192 }); 192 193 193 194