diff --git a/filemanager/inc/class.filemanager_select.inc.php b/filemanager/inc/class.filemanager_select.inc.php index 195c78b02e..024b1a1905 100644 --- a/filemanager/inc/class.filemanager_select.inc.php +++ b/filemanager/inc/class.filemanager_select.inc.php @@ -122,20 +122,9 @@ class filemanager_select unset($content['button']); switch($button) { - case 'up': - if ($content['path'] != '/') $content['path'] = egw_vfs::dirname($content['path']); - break; case 'home': $content['path'] = filemanager_ui::get_home_dir(); break; - case 'createdir': - if (!@egw_vfs::mkdir($content['path'],null,STREAM_MKDIR_RECURSIVE)) - { - $content['msg'] = !egw_vfs::is_writable(dirname($content['path'])) ? - lang('Permission denied!') : lang('Failed to create directory!'); - $content['path'] = $content['old_path']; - } - break; case 'ok': $copy_result = null; if (isset($content['file_upload']['name']) && file_exists($content['file_upload']['tmp_name'])) diff --git a/filemanager/templates/default/select.xet b/filemanager/templates/default/select.xet index 9efbf0b7f2..98d7b58386 100644 --- a/filemanager/templates/default/select.xet +++ b/filemanager/templates/default/select.xet @@ -30,12 +30,12 @@ -