Index: administrator/components/com_comprofiler/library/cb/cb.lists.php =================================================================== --- administrator/components/com_comprofiler/library/cb/cb.lists.php (revision 1628) +++ administrator/components/com_comprofiler/library/cb/cb.lists.php (working copy) @@ -519,7 +519,7 @@ . "\n $('div.cbSearchKind select').click( function() {" . "\n cbsearchkrit( this );" // At page startup fires the click event, which executes the callback just defined above: - . "\n } ).click();" + . "\n } ).each( function() { cbsearchkrit(this); });" //.click();" . "\n $('div.cbSearchKind select').change( function() {" . "\n cbsearchkrit( this );" // At search startup the fields are hidden as just defined above Index: administrator/components/com_comprofiler/view/view.users.php =================================================================== --- administrator/components/com_comprofiler/view/view.users.php (revision 1624) +++ administrator/components/com_comprofiler/view/view.users.php (working copy) @@ -246,12 +246,14 @@ if ( is_array( $cid ) && count( $cid ) ) { $vars['cid'] = $cid; } - //$this->_cbadmin_ajaxContent( $_CB_framework->backendUrl( 'index.php?option=' . $option . '&task=ajaxemailusers', false, 'raw' ), '#cbProgressIndicator', $vars ); - // $this->_cbadmin_ajaxBatch( $_CB_framework->backendUrl( 'index.php?option=' . $option . '&task=ajaxemailusers', false, 'raw' ), '#cbProgressIndicator', $vars, $emailPause, 0, $emailsPerBatch, $textDuringExecution, $textWhenDone, '.cbicon-48-massmail', $textWhenDone ); - $this->_cbadmin_ajaxBatch( $_CB_framework->backendUrl( 'index.php?option=' . $option, false, 'raw' ), '#cbProgressIndicator', '#cbmailbatchform', $vars, $emailPause, 0, $emailsPerBatch, $textDuringExecution, $textWhenDone, '.cbicon-48-massmail', $textWhenDone ); ?>
- _userslistFilters( $search, $lists, $inputTextExtras, $searchTabContent ); ?> + _userslistFilters( $search, $lists, $inputTextExtras, $searchTabContent ); + // Then auto-post the modified form: + $this->_cbadmin_ajaxBatch( $_CB_framework->backendUrl( 'index.php?option=' . $option, false, 'raw' ), '#cbProgressIndicator', '#cbmailbatchform', $vars, $emailPause, 0, $emailsPerBatch, $textDuringExecution, $textWhenDone, '.cbicon-48-massmail', $textWhenDone ); + ?>