first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
jQuery( document ).ready(function() {
|
||||
|
||||
jQuery( '#misc-publishing-actions' ).find( '.misc-pub-section' ).first().remove();
|
||||
jQuery( '#save-action' ).remove();
|
||||
|
||||
var bbp_topic_id = jQuery( '#bbp_topic_id' );
|
||||
|
||||
bbp_topic_id.suggest(
|
||||
bbp_topic_id.data( 'ajax-url' ),
|
||||
{
|
||||
onSelect: function() {
|
||||
var value = this.value;
|
||||
bbp_topic_id.val( value.substr( 0, value.indexOf( ' ' ) ) );
|
||||
}
|
||||
}
|
||||
);
|
||||
} );
|
||||
Reference in New Issue
Block a user