Commit Graph

20 Commits

Author SHA1 Message Date
jamiesensei 19194f825a added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method 2006-12-14 12:44:10 +00:00
vyshane 122223e8ab Fix for MDL-7493.
We basically replace the plus and minus hide buttons when the elementToggleHide javascript function is called.
2006-12-11 07:10:07 +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 2dbd640932 some fixes for disabledIf and using disabledIf in course/edit_form.php 2006-11-28 08:04:00 +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 d01a38cb06 *** empty log message *** 2006-11-22 08:53:35 +00:00
jamiesensei 9c03bbaa04 more fixes for lockoptions behaviour; changes to forum/mod_form.php; removed forum/mod.html 2006-11-21 11:02:13 +00:00
jamiesensei 50ef8eb9bd adding lockoptions functionality to formslib library and added lockoptionsall() function which allows multiple dependencies for one dependent element and handles that properly. 2006-11-21 09:17:46 +00:00
sam_marshall 027d048574 Update to static JS - 'hitem' hidden fields now optional for lockoptions. 2006-09-20 15:04:57 +00:00
toyomoyo bee40515da fix for 5216 2006-04-21 05:17:08 +00:00
vyshane d13c59383a Added javascript function insertAtCursor() 2006-03-14 05:26:40 +00:00
moodler b48fd7b59a added function popupchecker to help checking with popup blockers 2005-11-09 02:18:50 +00:00
patrickslee 8ceb09e0d6 Wrong parameter order in function definition (merged from MOODLE_15_STABLE) 2005-08-24 23:08:54 +00:00
defacer e7beac8992 Removing dead code. 2005-05-12 14:46:16 +00:00
defacer 7979105c62 If Javascript is enabled, make IE fix the block sizes after the page loads
so that it's not a mess to look at.
2005-05-12 14:45:16 +00:00
moodler 47aa42e211 Re-arranged static Javascript a bit 2005-04-16 12:30:48 +00:00
defacer 363cb62cf1 Adding universally useful functions to the mainstream. 2005-03-18 14:36:10 +00:00
defacer 7678e65cac New useful function submitFormById(). Fires off the form's onsubmit() handler first,
if applicable, and only submits if the handler doesn't exist or returns true.
2005-03-08 04:22:38 +00:00
gustav_delius 03f9425fd2 The teacher can now move selected questions to a chosen category or delete them, see http://moodle.org/mod/forum/discuss.php?d=16239 and http://moodle.org/mod/forum/discuss.php?d=19734
There is also a 'Deselect all' button which I implemented provisionally by putting an extra function checknone() into javascript-static.js. This should be cleaned up by someone who knows javascript.
2005-03-06 12:00:46 +00:00
moodler 63d288118a Split up the Javascript stuff into static and non-static.
This will reduce the size of each page somewhat.
2005-01-09 15:10:12 +00:00