From 9d3c6ee50634fb2f9ac6c873cfe8440467db0ba3 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Tue, 2 Jan 2007 05:04:11 +0000 Subject: [PATCH] chaning reference from document.abc to document.getElementById('abc'), MDL-7861 --- lib/weblib.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index ca4bbbf007..c8c9bca189 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -950,14 +950,16 @@ function popup_form($common, $options, $formname, $selected='', $nothing='choose $nothing = $choose.'...'; } + // changed reference to document.getElementById('id_abc') instead of document.abc + // MDL-7861 $startoutput = '
'; - $output = ''."\n"; if ($nothing != '') { $output .= " \n"; -- 2.39.5