From 03c5e925c8197770fef7e2b2729f61ab67387311 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 19 Feb 2014 00:05:03 +0000 Subject: [PATCH] - Add 'Add' button above nextmatch - Add placeholder action to add when there are no rows --- importexport/inc/class.importexport_definitions_ui.inc.php | 1 + importexport/templates/default/definition_index.xet | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/importexport/inc/class.importexport_definitions_ui.inc.php b/importexport/inc/class.importexport_definitions_ui.inc.php index 6f19469e58..5a3bd7c300 100644 --- a/importexport/inc/class.importexport_definitions_ui.inc.php +++ b/importexport/inc/class.importexport_definitions_ui.inc.php @@ -165,6 +165,7 @@ class importexport_definitions_ui 'csv_fields' => false, // Disable CSV export, uses own export 'default_cols' => '!actions', // switch legacy actions column and row off by default 'row_id' => 'definition_id', + 'placeholder_actions' => array('add') ); if($_GET['application']) $content['nm']['col_filter']['application'] = $_GET['application']; } diff --git a/importexport/templates/default/definition_index.xet b/importexport/templates/default/definition_index.xet index 7f0bea454f..d0c80ac052 100644 --- a/importexport/templates/default/definition_index.xet +++ b/importexport/templates/default/definition_index.xet @@ -55,8 +55,8 @@ - - + +