jamiesensei
0b82f5b913
fix for error in logic about where to redirect to after a cancel or after activity mod is successfully added or update.
2006-12-05 13:23:18 +00:00
jamiesensei
19110c573d
added new 'cancel' element type and introduced new is_cancelled() MoodleQuickForm method.
...
also used new cancel button in all mod_forms as well as a 'Revert' button and reworked logic about where to go on cancel or after submission for modedit.php
2006-12-04 09:36:30 +00:00
jamiesensei
67906614ad
now using disabledIf method in course/edit
2006-11-30 08:47:52 +00:00
jamiesensei
e24b7f851a
some restructuring of formslib - moving moodleform_mod definition to new file course\moodleform_mod.php and some changes to moodleform_mod standard elements setup and moodleform disabledIf API
2006-11-24 06:39:15 +00:00
jamiesensei
145dbd7cee
added action to redirect back to course page or to url in session var if cancel has been pressed.
2006-11-15 07:34:34 +00:00
jamiesensei
df56998ab1
need to pass course as customdata to form definition
2006-11-10 01:27:51 +00:00
jamiesensei
3cd7940b0c
moved the inclusion of mod/{modname}/lib.php to before form definition so that constants in there can be used in form defintion
2006-11-09 19:22:38 +00:00
jamiesensei
264867fdeb
add code to redirect to modedit.php from course/mod.php for activities adding / updating using new formslib
...
migrated chat/mod.html to formslib definition of form is in chat/mod_form.php
2006-11-09 18:25:58 +00:00