[eGroupWare-svn] r55871 - in /trunk: calendar/inc/ resources/inc/ timesheet/inc/ tracker/inc/

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Wed Apr 27 01:11:29 2016
New Revision: 55871

URL: http://svn.stylite.de/viewvc/egroupware?rev=55871&view=rev
Log:
Add missing placeholder (no rows) action

Modified:
    trunk/calendar/inc/class.calendar_uilist.inc.php
    trunk/resources/inc/class.resources_ui.inc.php
    trunk/timesheet/inc/class.timesheet_ui.inc.php
    trunk/tracker/inc/class.tracker_ui.inc.php

Modified: trunk/calendar/inc/class.calendar_uilist.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/inc/class.calendar_uilist.inc.php?rev=55871&r1=55870&r2=55871&view=diff
==============================================================================
--- trunk/calendar/inc/class.calendar_uilist.inc.php (original)
+++ trunk/calendar/inc/class.calendar_uilist.inc.php Wed Apr 27 01:11:29 2016
@@ -137,7 +137,8 @@
 				'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();

Modified: trunk/resources/inc/class.resources_ui.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/resources/inc/class.resources_ui.inc.php?rev=55871&r1=55870&r2=55871&view=diff
==============================================================================
--- trunk/resources/inc/class.resources_ui.inc.php (original)
+++ trunk/resources/inc/class.resources_ui.inc.php Wed Apr 27 01:11:29 2016
@@ -142,6 +142,7 @@
 			$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

Modified: trunk/timesheet/inc/class.timesheet_ui.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/timesheet/inc/class.timesheet_ui.inc.php?rev=55871&r1=55870&r2=55871&view=diff
==============================================================================
--- trunk/timesheet/inc/class.timesheet_ui.inc.php (original)
+++ trunk/timesheet/inc/class.timesheet_ui.inc.php Wed Apr 27 01:11:29 2016
@@ -900,6 +900,7 @@
 				//'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']);

Modified: trunk/tracker/inc/class.tracker_ui.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/tracker/inc/class.tracker_ui.inc.php?rev=55871&r1=55870&r2=55871&view=diff
==============================================================================
--- trunk/tracker/inc/class.tracker_ui.inc.php (original)
+++ trunk/tracker/inc/class.tracker_ui.inc.php Wed Apr 27 01:11:29 2016
@@ -1305,7 +1305,8 @@
 	 			'only_tracker'   => $only_tracker,
 	 			'default_cols'   => '!esc_id,legacy_actions,tr_summary_tr_description,tr_resolution,tr_completion,tr_sum_timesheets,votes,bounties',
 				'row_id'         => 'tr_id',
-				'row_modified'   => 'tr_modified'
+				'row_modified'   => 'tr_modified',
+				'placeholder_actions' => array('add')
 			);
 			// use the state of the last session stored in the user prefs
 			if (!$this->called_by && ($state = @unserialize($GLOBALS['egw_info']['user']['preferences']['tracker']['index_state'])))


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.