forked from extern/egroupware
- Don't try to include js, that variable isn't there anymore
- Special handling for the upload (step 30) to do a full form submit
This commit is contained in:
parent
ee9e4c4d47
commit
3e24e1c7d6
@ -184,6 +184,10 @@ class importexport_definitions_ui
|
|||||||
$button = array_keys($content['button']);
|
$button = array_keys($content['button']);
|
||||||
$content['button'] = array($button[0] => 'pressed');
|
$content['button'] = array($button[0] => 'pressed');
|
||||||
}
|
}
|
||||||
|
// Override next button on step 30
|
||||||
|
if($content['step'] == '30') {
|
||||||
|
$this->etpl->set_cell_attribute('button[next]', 'onclick', '');
|
||||||
|
}
|
||||||
|
|
||||||
// post process submitted step
|
// post process submitted step
|
||||||
if($content['step']) {
|
if($content['step']) {
|
||||||
@ -243,10 +247,6 @@ class importexport_definitions_ui
|
|||||||
$this->response->addAssign('exec[button][cancel]','style.display', 'none');
|
$this->response->addAssign('exec[button][cancel]','style.display', 'none');
|
||||||
}
|
}
|
||||||
$this->response->addAssign('contentbox', 'innerHTML', $html);
|
$this->response->addAssign('contentbox', 'innerHTML', $html);
|
||||||
if (isset($GLOBALS['egw']->js) && $GLOBALS['egw']->js->body['onLoad'])
|
|
||||||
{
|
|
||||||
$this->response->addScript($GLOBALS['egw']->js->body['onLoad']);
|
|
||||||
}
|
|
||||||
$this->response->addAssign('picturebox', 'style.display', 'none');
|
$this->response->addAssign('picturebox', 'style.display', 'none');
|
||||||
$this->response->addScript("set_style_by_class('div','popupManual','display','inline');");
|
$this->response->addScript("set_style_by_class('div','popupManual','display','inline');");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user