From e6dfaf0f5c73da534ffa36bcbb737ebe64b5c8de Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 20 Apr 2023 08:18:43 -0600 Subject: [PATCH] Resources: Make ACL edit popup wider --- resources/inc/class.resources_acl_ui.inc.php | 25 ++++++++++---------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/resources/inc/class.resources_acl_ui.inc.php b/resources/inc/class.resources_acl_ui.inc.php index dda0a1ce9a..b9f542efff 100755 --- a/resources/inc/class.resources_acl_ui.inc.php +++ b/resources/inc/class.resources_acl_ui.inc.php @@ -77,21 +77,22 @@ class resources_acl_ui protected static function get_actions($appname='resources') { $actions = array( - 'open' => array( // does edit if allowed, otherwise view - 'caption' => 'Open', - 'default' => true, + 'open' => array( + // does edit if allowed, otherwise view + 'caption' => 'Open', + 'default' => true, 'allowOnMultiple' => false, - 'url' => 'menuaction=resources.resources_acl_ui.edit&cat_id=$id', - 'popup' => '600x420', - 'group' => $group=1, + 'url' => 'menuaction=resources.resources_acl_ui.edit&cat_id=$id', + 'popup' => '800x420', + 'group' => $group = 1, ), - 'add' => array( - 'caption' => 'Add', + 'add' => array( + 'caption' => 'Add', 'allowOnMultiple' => false, - 'icon' => 'new', - 'url' => 'menuaction=admin.admin_categories.edit&appname=resources', - 'popup' => '600x380', - 'group' => $group, + 'icon' => 'new', + 'url' => 'menuaction=admin.admin_categories.edit&appname=resources', + 'popup' => '600x380', + 'group' => $group, ), );