mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Fixed the displaying of the delete button on the edit page.
This commit is contained in:
parent
77a1e4570e
commit
0261e3206d
@ -2932,10 +2932,10 @@
|
||||
|
||||
$p->set_var('submit_button',lang('Submit'));
|
||||
|
||||
if ($cal_id > 0)
|
||||
if ($event['id'] > 0)
|
||||
{
|
||||
$var = Array(
|
||||
'action_url_button' => $this->page('delete','&cal_id='.$cal_id),
|
||||
'action_url_button' => $this->page('delete','&cal_id='.$event['id']),
|
||||
'action_text_button' => lang('Delete'),
|
||||
'action_confirm_button' => "onClick=\"return confirm('".lang("Are you sure\\nyou want to \\ndelete this entry?\\n\\nThis will delete\\nthis entry for all users.")."')\"",
|
||||
'action_extra_field' => ''
|
||||
|
Loading…
Reference in New Issue
Block a user