Skip to content
Snippets Groups Projects

Dev#12691 Autocomplete

Merged Laurent requested to merge dev#12691-Autocomplete into master
Compare and
+ 1016
43
Preferences
Compare changes
Files
@@ -48,6 +48,20 @@ class Admin_BatchController extends ZendAfi_Controller_Action {
$this->_helper->notify($this->_('Tâche executée'));
$this->_redirect('/admin/batch');
}
public function runAjaxAction() {
$batch = Class_Batch::find($this->_getParam('id'));
$this->view->titre = $this->view->_('Exécution du traitement "%s"', $batch->getLibelle());
$this->view->batch = $batch;
}
public function runStepAction() {
$this->_helper->json(
Class_Batch::find($this->_getParam('id'))
->runStep($this->_request->getParams()));
}
}
?>
\ No newline at end of file