--- loncom/interface/loncommon.pm 2015/04/06 19:05:27 1.1212
+++ loncom/interface/loncommon.pm 2015/04/07 14:08:24 1.1214
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1212 2015/04/06 19:05:27 raeburn Exp $
+# $Id: loncommon.pm,v 1.1214 2015/04/07 14:08:24 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7778,14 +7778,14 @@ function LC_Offload_Now() {
window.location.href="$newurl";
}
}
-window.alert('$msg');
-if ($disable_submit) {
- \$(document).ready(function () {
+\$(document).ready(function () {
+ window.alert('$msg');
+ if ($disable_submit) {
\$(".LC_hwk_submit").prop("disabled", true);
\$( ".LC_textline" ).prop( "readonly", "readonly");
- });
-}
-setTimeout('LC_Offload_Now()', $timeout);
+ }
+ setTimeout('LC_Offload_Now()', $timeout);
+});
OFFLOAD
}
@@ -16243,7 +16243,7 @@ sub create_recaptcha {
my $captcha = Captcha::reCAPTCHA->new;
return $captcha->get_options_setter({theme => 'white'})."\n".
$captcha->get_html($pubkey,undef,$use_ssl).
- &mt('If either word is hard to read, [_1] will replace them.',
+ &mt('If the text is hard to read, [_1] will replace them.',
'
').
'
';
}