diff --git a/calendar/matrixselect.php b/calendar/matrixselect.php index c11bd781d1..b9ac184568 100755 --- a/calendar/matrixselect.php +++ b/calendar/matrixselect.php @@ -48,7 +48,6 @@ $phpgw->template->set_block("matrix_query_begin","list","matrix_query_end","form_button"); -// $phpgw->template->set_var("bg_color",$phpgw_info["theme"]["bg_text"]); $phpgw->template->set_var("matrix_action",lang("Daily Matrix View")); $phpgw->template->set_var("action_url",$phpgw->link("timematrix.php")); @@ -106,7 +105,12 @@ $phpgw->template->set_var("data",$str); $phpgw->template->parse("output","list",True); - $phpgw->template->set_var("submit_button",lang("Submit")); + $phpgw->template->set_var("action_url_button",""); + $phpgw->template->set_var("action_text_button",lang("Submit")); + $phpgw->template->set_var("action_confirm_button","onClick=\"document.matrixform.submit();\""); + + $phpgw->template->parse("submit_button","form_button"); + $phpgw->template->set_var("action_url_button",""); $phpgw->template->set_var("action_text_button",lang("Cancel")); diff --git a/calendar/templates/default/matrix_query.tpl b/calendar/templates/default/matrix_query.tpl index e1554269f0..44134426cd 100755 --- a/calendar/templates/default/matrix_query.tpl +++ b/calendar/templates/default/matrix_query.tpl @@ -3,7 +3,7 @@