[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

   1  jQuery( document ).ready( function() {
   2  
   3      var bbp_author_id = jQuery( '#bbp_author_id' );
   4  
   5      bbp_author_id.suggest(
   6          bbp_author_id.data( 'ajax-url' ),
   7          {
   8              minchars: 1, // Allow single-digit user IDs
   9              onSelect: function() {
  10                  var value = this.value;
  11                  bbp_author_id.val( value.substr( 0, value.indexOf( ' ' ) ) );
  12              }
  13          }
  14      );
  15  } );


Generated: Thu Aug 6 01:01:22 2020 Cross-referenced by PHPXref 0.7.1