$rows = $this->get('rows');
if (is_array($rows)) {
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
if (!$this->_single) {
$this->addElement('checkbox', 'toggleSelect', NULL, NULL,
array('onclick' => "toggleTaskAction( true ); return toggleCheckboxVals('mark_x_',this);")
$rows = $this->get('rows');
if (is_array($rows)) {
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
if (!$this->_single) {
$this->addElement('checkbox', 'toggleSelect', NULL, NULL, array('onclick' => "toggleTaskAction( true ); return toggleCheckboxVals('mark_x_',this);"));
foreach ($rows as $row) {
*/
$rows = $this->get('rows');
if (is_array($rows)) {
-
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
if (!$this->_single) {
$this->addElement('checkbox',
'toggleSelect',
* @return void
*/
function buildQuickForm() {
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
$permission = CRM_Core_Permission::getPermission();
// some tasks.. what do we want to do with the selected contacts ?
$tasks = array('' => ts('- actions -'));
$this->assign('ts_all_id', $allRowsRadio->_attributes['id']);
/*
- * add form checkboxes for each row. This is needed out here to conform to QF protocol
- * of all elements being declared in builQuickForm
- */
+ * add form checkboxes for each row. This is needed out here to conform to QF protocol
+ * of all elements being declared in builQuickForm
+ */
$rows = $this->get('rows');
*/
$rows = $this->get('rows');
if (is_array($rows)) {
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
$lineItems = $eventIds = array();
if (!$this->_single) {
$this->addElement('checkbox',
$rows = $this->get('rows');
if (is_array($rows)) {
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
if (!$this->_single) {
$this->addElement('checkbox', 'toggleSelect', NULL, NULL, array('onchange' => "toggleTaskAction( true ); return toggleCheckboxVals('mark_x_',this);"));
foreach ($rows as $row) {
$rows = $this->get('rows');
if (is_array($rows)) {
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
if (!$this->_single) {
$this->addElement('checkbox', 'toggleSelect', NULL, NULL, array('onclick' => "toggleTaskAction( true ); return toggleCheckboxVals('mark_x_',this);"));
foreach ($rows as $row) {
*/
$rows = $this->get('rows');
if (is_array($rows)) {
-
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
if (!$this->_single) {
$this->addElement('checkbox', 'toggleSelect', NULL, NULL, array('onclick' => "toggleTaskAction( true ); return toggleCheckboxVals('mark_x_',this);"));