From 4618af352c00ff1bc37cebc2daa8aeec5ec93794 Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Tue, 5 Jul 2016 20:20:33 +0100 Subject: [PATCH] Fixed New button in items form: visible in New Item not Edit/Update Item --- application/helpers/table_helper.php | 2 +- application/views/items/manage.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/helpers/table_helper.php b/application/helpers/table_helper.php index 4aee062ee..41a43c2b8 100644 --- a/application/helpers/table_helper.php +++ b/application/helpers/table_helper.php @@ -286,7 +286,7 @@ function get_item_data_row($item, $controller) array('class' => 'modal-dlg', 'title' => $CI->lang->line($controller_name.'_details_count')) ), 'edit' => anchor($controller_name."/view/$item->item_id", '', - array('class' => 'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'data-btn-new' => $CI->lang->line('common_new'), 'title' => $CI->lang->line($controller_name.'_update')) + array('class' => 'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title' => $CI->lang->line($controller_name.'_update')) )); } diff --git a/application/views/items/manage.php b/application/views/items/manage.php index 0fb0bf4a2..e3922d8e9 100644 --- a/application/views/items/manage.php +++ b/application/views/items/manage.php @@ -63,7 +63,7 @@ $(document).ready(function()  lang->line('common_import_excel'); ?> -