From 43ab9aa463be3b010352b7606d56df14128caad7 Mon Sep 17 00:00:00 2001 From: poltawski Date: Tue, 8 May 2007 22:50:04 +0000 Subject: [PATCH] MDL-9742 Moving tabs to spaces --- mod/hotpot/mod.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mod/hotpot/mod.html b/mod/hotpot/mod.html index 3633e472e4..c6a0a8fe19 100644 --- a/mod/hotpot/mod.html +++ b/mod/hotpot/mod.html @@ -242,9 +242,9 @@ $text_source_options = array( $HOTPOT_FEEDBACK, "studentfeedback", "$form->studentfeedback", "", "return hotpot_lockoptions('form', 'studentfeedback', feedbacklockitems, feedbackoffvalues)" ); - print ''; + print ''; print "studentfeedbackurl\">"; - print ''; + print ''; helpbutton("studentfeedback", get_string("studentfeedback","hotpot"), "hotpot"); ?> @@ -371,18 +371,18 @@ $text_source_options = array( // override the standard Moodle "setfocus" function, // which gives a js error if the "name" field is hidden function setfocus() { - var f = getElementById('form'); - if (f) { - if (canfocus(f, 'namesource')) { - f.namesource.focus(); - } else if (canfocus(f, 'name')) { - f.name.focus(); - } - } + var f = getElementById('form'); + if (f) { + if (canfocus(f, 'namesource')) { + f.namesource.focus(); + } else if (canfocus(f, 'name')) { + f.name.focus(); + } + } } function canfocus(f, name) { - var obj = eval('f.'+name); - return (obj==null || obj.type=='hidden' || obj.focus==null || (obj.style && obj.style.display=='none')) ? false : true; + var obj = eval('f.'+name); + return (obj==null || obj.type=='hidden' || obj.focus==null || (obj.style && obj.style.display=='none')) ? false : true; } //--> -- 2.39.5