From 5529f787bde2049e9385b28ac2623d71302fae6f Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 27 Aug 2009 10:12:44 +0000 Subject: [PATCH] MDL-19797 Added callback support to the confirm_dialog function, and to the add_confirm_action() method --- lib/javascript-static.js | 25 +++++++++++++++++++------ lib/outputcomponents.php | 6 ++++-- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/lib/javascript-static.js b/lib/javascript-static.js index 39584bcf58..4ba42d1d43 100644 --- a/lib/javascript-static.js +++ b/lib/javascript-static.js @@ -208,7 +208,7 @@ function lockoptionsallsetup(formid) { /** * Helper function mainly for drop-down menus' onchange events, * submits the form designated by args.id. If args.selectid is also - * given, it only submits the form if the selected