diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 17fedf056f..a062cdafbc 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -137,7 +137,8 @@ class calendar_uilist extends calendar_ui 'filter_onchange' => "app.calendar.filter_change", 'row_id' => 'row_id', // set in get rows "$event[id]:$event[recur_date]" 'row_modified' => 'modified', - 'favorites' => true + 'favorites' => true, + 'placeholder_actions' => array('add') ); } $content['nm']['actions'] = $this->get_actions(); diff --git a/resources/inc/class.resources_ui.inc.php b/resources/inc/class.resources_ui.inc.php index 2ff71f231b..83e4889278 100755 --- a/resources/inc/class.resources_ui.inc.php +++ b/resources/inc/class.resources_ui.inc.php @@ -142,6 +142,7 @@ class resources_ui $content['nm']['filter2'] = (int)$_GET['view_accs_of']; } $content['nm']['actions'] = $this->get_actions(); + $content['nm']['placeholder_actions'] = array('add'); // check if user is permitted to add resources // If they can't read any categories, they won't be able to save it diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 7723c4c25a..d0ce8889ec 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -900,6 +900,7 @@ class timesheet_ui extends timesheet_bo //'actions' => $this->get_actions(), 'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default 'pm_integration' => $this->pm_integration, + 'placeholder_actions' => array('add') ); } $content['nm']['actions'] = $this->get_actions($content['nm']);