Project

General

Profile

2950.patch

beat, 02 November 2011 11:57 PM

View differences:

administrator/components/com_comprofiler/library/cb/cb.lists.php (working copy)
519 519
						.	"\n	$('div.cbSearchKind select').click( function() {"
520 520
						.	"\n		cbsearchkrit( this );"
521 521
						//	At page startup fires the click event, which executes the callback just defined above:
522
						.	"\n	} ).click();"
522
						.	"\n	} ).each( function() { cbsearchkrit(this); });"		//.click();"
523 523
						.	"\n	$('div.cbSearchKind select').change( function() {"
524 524
						.	"\n		cbsearchkrit( this );"
525 525
						//	At search startup the fields are hidden as just defined above
administrator/components/com_comprofiler/view/view.users.php (working copy)
246 246
	  	if ( is_array( $cid ) && count( $cid ) ) {
247 247
	  		$vars['cid']		=	$cid;
248 248
	  	}
249
		//$this->_cbadmin_ajaxContent( $_CB_framework->backendUrl( 'index.php?option=' . $option . '&task=ajaxemailusers', false, 'raw' ), '#cbProgressIndicator', $vars );
250
		// $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 );
251
		$this->_cbadmin_ajaxBatch( $_CB_framework->backendUrl( 'index.php?option=' . $option, false, 'raw' ), '#cbProgressIndicator', '#cbmailbatchform', $vars, $emailPause, 0, $emailsPerBatch, $textDuringExecution, $textWhenDone, '.cbicon-48-massmail', $textWhenDone );
252 249
?>
253 250
<form action="<?php echo $_CB_framework->backendUrl( 'index.php' ); ?>" method="post" name="adminForm" class="cb_form" id="cbmailbatchform">
254
	<?php $this->_userslistFilters( $search, $lists, $inputTextExtras, $searchTabContent ); ?>
251
	<?php
252
	// First output list and jquery to fix selects to multiple:
253
	$this->_userslistFilters( $search, $lists, $inputTextExtras, $searchTabContent );
254
	// Then auto-post the modified form:
255
	$this->_cbadmin_ajaxBatch( $_CB_framework->backendUrl( 'index.php?option=' . $option, false, 'raw' ), '#cbProgressIndicator', '#cbmailbatchform', $vars, $emailPause, 0, $emailsPerBatch, $textDuringExecution, $textWhenDone, '.cbicon-48-massmail', $textWhenDone );
256
	?>
255 257
  <table cellpadding="4" cellspacing="0" border="0" width="100%" class="adminlist">
256 258
   <thead>
257 259
    <tr>