Project

General

Profile

Bug #3435 ยป 3435.patch

krileon, 09 April 2012 20:30

View differences:

components/com_comprofiler/comprofiler.html.php
$('#'+$(this).attr('id')+'Response').html('<img alt="" src=\"<?php echo $_CB_framework->getCfg( 'live_site' ); ?>/components/com_comprofiler/images/wait.gif\" /> <?php echo _UE_CHECKING; ?>').fadeIn('fast');
var cbInputField = this;
$.ajax( { type: 'POST',
url: '<?php echo $_CB_framework->getCfg( 'live_site' ); ?>/index2.php?option=com_comprofiler&task=perform'+$(this).attr('id')+'&function=testexists&no_html=1&format=raw',
url: '<?php echo cbSef( 'index.php?option=com_comprofiler', false, 'raw' ); ?>&task=perform'+$(this).attr('id')+'&function=testexists',
data: 'value=' + encodeURIComponent( $(this).val() ) + '&<?php
echo $cbSpoofField; ?>=' + encodeURIComponent('<?php echo $cbSpoofString; ?>') + '&<?php
echo $regAntiSpamFieldName; ?>=' + encodeURIComponent('<?php echo $regAntiSpamValues[0]; ?>'),
    (1-1/1)