From 6b39b4044999f104ef699bc19a0b78ebabf38c89 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 7 Jun 2016 14:14:02 -0600 Subject: [PATCH] Remove execute action from server side, handled client side now --- .../class.importexport_definitions_ui.inc.php | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/importexport/inc/class.importexport_definitions_ui.inc.php b/importexport/inc/class.importexport_definitions_ui.inc.php index cdf2c90879..e93d22dc7a 100644 --- a/importexport/inc/class.importexport_definitions_ui.inc.php +++ b/importexport/inc/class.importexport_definitions_ui.inc.php @@ -335,20 +335,10 @@ class importexport_definitions_ui $bodefinitions = new importexport_definitions_bo(false, true); switch($action) { - case 'execute': - // There's probably a way to do this in just JS, all the info should be there... - foreach($selected as $id) { - $definition = $bodefinitions->read((int)$id); - $link = Egw::link('/index.php', array( - 'menuaction' => 'importexport.importexport_'.$definition['type'].'_ui.'.$definition['type'].'_dialog', - 'appname' => $definition['application'], - 'definition' => $definition['name'] - )); - Framework::set_onload("egw_openWindowCentered2('$link','_blank',850,440,'yes');"); - } - break; case 'allowed': - $action = 'allowed_users';// Field is allowed_users, popup doesn't like _ + // Field is allowed_users, popup doesn't like _ + $action = 'allowed_users'; + // Fall through case 'owner': $action_msg = lang('changed'. ' ' . $action); foreach($selected as $id) {