]> git.mjollnir.org Git - moodle.git/commit
MDL-19756 Added a shortcut method to moodle_html_components: add_confirm_action(...
authornicolasconnault <nicolasconnault>
Mon, 10 Aug 2009 07:31:31 +0000 (07:31 +0000)
committernicolasconnault <nicolasconnault>
Mon, 10 Aug 2009 07:31:31 +0000 (07:31 +0000)
commite6fcbe276d3e868f4c0b9dc5c87bc3e736b515e6
tree4f51c21d80d83be68bb667e077b2bafc58477e20
parentbeb56299ecffdf77cbca84597646b90c53e78d65
MDL-19756 Added a shortcut method to moodle_html_components: add_confirm_action($message). This adds the appropriate onclick event handler for a confirmation message and can be used on any component that gets prepared properly by a renderer function.
lib/deprecatedlib.php
lib/outputcomponents.php