Ticket #15809: post.dev.diff
File post.dev.diff, 641 bytes (added by , 10 years ago) |
---|
-
post.dev.js
325 325 if ( id && t.parents('#taxonomy-'+taxonomy).length ) 326 326 $('#in-' + taxonomy + '-' + id + ', #in-popular-' + taxonomy + '-' + id).attr( 'checked', c ); 327 327 }); 328 329 $('#newcategory', this).keypress( function(e) { 330 code = (e.keyCode ? e.keyCode : e.which); 331 if (code == 13){ 332 $('#category-add-submit').trigger('click'); 333 e.preventDefault(); 334 } 335 }); 328 336 329 337 }); // end cats 330 338