Backport 31972 - Remove call to missing function - doesn't look needed, it works without.

This commit is contained in:
Nathan Gray 2010-09-08 16:24:47 +00:00
parent c7c5ce6208
commit cc45df9928
3 changed files with 2 additions and 4 deletions

View File

@ -259,7 +259,7 @@ class importexport_definitions_ui
else
{
$GLOBALS['egw']->js->set_onload("document.getElementById('picturebox').style.display = 'none';");
egw_framework::validate_file('.', 'etemplate', 'etemplate');
$GLOBALS['egw']->js->validate_file('.', 'etemplate', 'etemplate');
$GLOBALS['egw']->common->egw_header();
echo '<div id="divMain">'."\n";
echo '<div><h3>{Im|Ex}port Wizard</h3></div>';

View File

@ -333,7 +333,7 @@ class importexport_helper_functions {
}
$d->close();
}
//error_log(__CLASS__.__FUNCTION__.print_r($plugins,true));
error_log(__CLASS__.__FUNCTION__.print_r($plugins,true));
return $plugins;
}

View File

@ -32,7 +32,6 @@
private $plugins;
public function __construct() {
$GLOBALS['egw']->js->validate_file('.','import_dialog','importexport');
$this->plugins = importexport_helper_functions::get_plugins('all','import');
$GLOBALS['egw_info']['flags']['include_xajax'] = true;
}
@ -127,7 +126,6 @@
}
}
$response = new xajaxResponse();
$response->addScript('import_dialog.change_definition(document.getElementId(\'exec[definition]\'));');
$response->addAssign('exec[definition]','innerHTML',$sel_options['definition']);
return $response->getXML();
}