From e00a141c633ec0d53032a133b8239c7a866ddacf Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 29 May 2001 20:37:57 +0000 Subject: [PATCH] renamed submit-button, to make JS work (can't be named submit) --- infolog/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolog/edit.php b/infolog/edit.php index a73e4a55e9..ec95abd17f 100644 --- a/infolog/edit.php +++ b/infolog/edit.php @@ -29,7 +29,7 @@ $phpgw->infolog = createobject('infolog.infolog'); - if ($submit) { + if ($save || $add) { if (strlen($des) >= 8000) { $error[] = lang('Description can not exceed 8000 characters in length'); } @@ -249,7 +249,7 @@ $t->set_var('delete_action',$phpgw->link('/infolog/delete.php')); - $t->set_var('edit_button',''); + $t->set_var('edit_button',''); if (!$action && $phpgw->infolog->check_access($info_id,PHPGW_ACL_DELETE)) { $t->set_var('delete_button','');