*/
public static function getActionMetadata() {
$actions = array(
- 'report_instance.html' => array('title' => ts('View results')),
- 'report_instance.save' => array('title' => ts('Update')),
+ 'report_instance.save' => array('title' => ts('Save')),
'report_instance.copy' => array(
'title' => ts('Save a Copy'),
'data' => array(
$actions['report_instance.save']['title'] = ts('Create Report');
}
- $actions['report_instance.html']['title'] = $this->getResultsLabel();
-
if (!$this->_csvSupported) {
unset($actions['report_instance.csv']);
}
LEFT JOIN civicrm_address {$this->_aliases['civicrm_address']}
ON ({$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_address']}.contact_id)
AND {$this->_aliases['civicrm_address']}.is_primary = 1\n";
- if ($buttonName == $this->_createNewButtonName) {
- $this->_outputMode = 'copy';
- }
}
}
}
else if (!$(this).find(':selected').data('supports_modal')) {
$go.click();
+ $('#task').val('').select2('val', '');
}
// The following code can load the task in a popup, however not all tasks function correctly with this
// So it's a per-task opt-in mechanism.