]> git.mjollnir.org Git - moodle.git/commitdiff
Focus is now loaded into Name edit field
authorthepurpleblob <thepurpleblob>
Thu, 19 Oct 2006 13:06:06 +0000 (13:06 +0000)
committerthepurpleblob <thepurpleblob>
Thu, 19 Oct 2006 13:06:06 +0000 (13:06 +0000)
calendar/event.php
calendar/event_edit.html
calendar/event_new.html

index 9461a7a4e37c603a1d13f72a3cdb3868adc5bdc8..5ba8ce51bffe2a718aeee4e5c7eb4ed3353664fb 100644 (file)
     }
 
     print_header($site->shortname.': '.$strcalendar.': '.$title, $strcalendar, $nav.' -> '.$title,
-                 $focus, '', true, '', user_login_string($site));
+                 'eventform.name', '', true, 'new.name', user_login_string($site));
 
     echo calendar_overlib_html();
 
index c4dc49465f4e8dfb313aeddfeecc4cfc10ea0863..3a33f0bf0dd47b75813da91fcab9f185d7961ef2 100644 (file)
@@ -1,4 +1,4 @@
-<form method="post" action="event.php" name="edit">
+<form method="post" action="event.php" name="eventform">
 <table cellpadding="5" cellspacing="0">
   <tr>
     <td style="vertical-align: top; text-align: right;">
index 6820973cfd240c4a8c4ec930d0defceafe0d60fc..61331eef515d622aa6127898406afbb4da01cac4 100644 (file)
@@ -2,7 +2,7 @@
     // The following is a hack to fix bug 1488
     $course = get_record('course', 'id', ($form->courseid) ? $form->courseid : $site->id);
 ?>
-<form method="post" action="event.php" name="new">
+<form method="post" action="event.php" name="eventform">
 <table cellpadding="5">
   <tr>
     <td style="vertical-align: top; text-align: right;">