function forena_report_save_cancel in Forena Reports 7.4
Same name and namespace in other branches
- 8 forena.report.inc \forena_report_save_cancel()
- 7.5 forena.report.inc \forena_report_save_cancel()
1 string reference to 'forena_report_save_cancel'
- forena_report_save_form in ./
forena.report.inc - Creates a simple save button to be used with other forms
File
- ./
forena.report.inc, line 819
Code
function forena_report_save_cancel($form, &$form_state) {
extract($form_state['values']);
Frx::Editor($report_name)
->cancel();
$form_state['redirect'] = array(
"reports/{$report_name}",
array(
'query' => Frx::parms(),
),
);
}