[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/js/ -> confirm.js (source)

   1  /* jshint devel: true */
   2  /* global BP_Confirm */
   3  
   4  jQuery( function() {
   5      jQuery( '#buddypress' ).on( 'click', 'a.confirm', function() {
   6          if ( confirm( BP_Confirm.are_you_sure ) ) {
   7              return true;
   8          } else {
   9              return false;
  10          }
  11      } );
  12  } );


Generated: Sun Jul 3 01:00:53 2022 Cross-referenced by PHPXref 0.7.1