From 782eb7f14ce1085aabfa5bf6edf5c2a3390e69b3 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 16 Jan 2014 17:23:39 +0000 Subject: [PATCH] Fix filemanager context menu item opening in iframe --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- infolog/inc/class.infolog_ui.inc.php | 2 +- timesheet/inc/class.timesheet_ui.inc.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index db5cd545cc..53d2fe1dc0 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -604,7 +604,7 @@ class addressbook_ui extends addressbook_bo $actions['filemanager'] = array( 'icon' => 'filemanager/navbar', 'caption' => 'Filemanager', - 'url' => 'menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$id', + 'url' => 'menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$id&ajax=true', 'allowOnMultiple' => false, 'group' => $group, // disable for for org-views, as it needs contact-ids diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 69e60ce906..6385aa23bc 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1094,7 +1094,7 @@ class infolog_ui $actions['filemanager'] = array( 'icon' => 'filemanager/navbar', 'caption' => 'Filemanager', - 'url' => 'menuaction=filemanager.filemanager_ui.index&path=/apps/infolog/$id', + 'url' => 'menuaction=filemanager.filemanager_ui.index&path=/apps/infolog/$id&ajax=true', 'allowOnMultiple' => false, 'group' => $group, ); diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 7348139189..48d74a8ee8 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -971,7 +971,7 @@ class timesheet_ui extends timesheet_bo $actions['filemanager'] = array( 'icon' => 'filemanager/navbar', 'caption' => 'Filemanager', - 'url' => 'menuaction=filemanager.filemanager_ui.index&path=/apps/timesheet/$id', + 'url' => 'menuaction=filemanager.filemanager_ui.index&path=/apps/timesheet/$id&ajax=true', 'allowOnMultiple' => false, 'group' => $group, 'disableClass' => 'th',