[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/admin/assets/js/ -> replies.js (source)

   1  jQuery( document ).ready(function() {
   2  
   3      jQuery( '#misc-publishing-actions' ).find( '.misc-pub-section' ).first().remove();
   4      jQuery( '#save-action' ).remove();
   5  
   6      var bbp_topic_id = jQuery( '#bbp_topic_id' );
   7  
   8      bbp_topic_id.suggest(
   9          bbp_topic_id.data( 'ajax-url' ),
  10          {
  11              onSelect: function() {
  12                  var value = this.value;
  13                  bbp_topic_id.val( value.substr( 0, value.indexOf( ' ' ) ) );
  14              }
  15          }
  16      );
  17  } );


Generated: Sat Dec 21 01:00:52 2024 Cross-referenced by PHPXref 0.7.1