Selectbox now works with jdots framework

This commit is contained in:
Nathan Gray 2011-05-09 16:56:52 +00:00
parent 3906423d4a
commit e6ecb5415c

View File

@ -135,7 +135,8 @@ class importexport_admin_prefs_sidebox_hooks
$file_list[$_file['path']] = egw_vfs::decodePath($_file['name']);
}
$prefix = 'document_';
$options = 'style="max-width:175px;" onchange="var action = new egwAction(null,\''.$prefix.'\'+this.value);console.log(action); nm_action(action, egw_objectManager.selectedChildren); this.value = \'\'"';
$options = 'style="max-width:175px;" onchange="var window = egw_appWindow(\''.$appname.'\');console.log(window); var action = new window.egwAction(null,\''.$prefix.'\'+this.value);console.log(action); window.nm_action(action, window.egw_objectManager.selectedChildren); this.value = \'\'"';
$file[] = array(
'text' => html::select('merge',false,array('' => lang('Export Spreadsheet')) + $file_list, true,$options),
'noLang' => true,