[ 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: Wed Aug 12 01:01:22 2020 Cross-referenced by PHPXref 0.7.1