Project

General

Profile

Bug #1655 ยป 1655.patch

krileon, 07 December 2010 15:44

View differences:

components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php
$value = $cbFields->clean( $badHtmlFilter, $value );
unset( $cbFields );
$html = $_CB_framework->displayCmsEditor( $field->name, $value, 600, 350, $field->cols, $field->rows );
$html = $_CB_framework->displayCmsEditor( $field->name, $value, 600, 350, $field->cols, $field->rows )
. $this->_fieldIconsHtml( $field, $user, $output, $reason, null, $field->type, $value, 'input', null, true, ( $this->_isRequired( $field, $user, $reason ) && ( ! $this->_isReadOnly( $field, $user, $reason ) ) ) );
$jsSaveCode = $_CB_framework->saveCmsEditorJS( $field->name );
if ( $jsSaveCode ) {
$_CB_framework->outputCbJQuery( "$('#adminForm').submit( function() { " . $jsSaveCode . " return true; } );" );
    (1-1/1)