[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
raeburn
raeburn at source.lon-capa.org
Mon Aug 12 12:45:48 EDT 2019
raeburn Mon Aug 12 16:45:48 2019 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
- Prepend LC_ to id of hidden form element used in client-side checking for
uploaded file size, for purposes of namespacing.
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.382 loncom/interface/lonfeedback.pm:1.383
--- loncom/interface/lonfeedback.pm:1.382 Sun Aug 11 15:15:39 2019
+++ loncom/interface/lonfeedback.pm Mon Aug 12 16:45:48 2019
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.382 2019/08/11 15:15:39 raeburn Exp $
+# $Id: lonfeedback.pm,v 1.383 2019/08/12 16:45:48 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3561,7 +3561,7 @@
$r->print(&Apache::lonhtmlcommon::row_closure());
$r->print(&Apache::lonhtmlcommon::row_title($lt{'adda'}));
$r->print('<input type="file" name="addnewattach" class="LC_flUpload" />'
- .'<input type="hidden" id="free_space" value="131072" />'
+ .'<input type="hidden" id="LC_free_space" value="131072" />'
.'<input type="button" name="upload" value="Upload" '
.'onclick="this.form.submit()" /> '.$attachmaxtext);
if(($idx)||(ref($currnewattach) eq 'ARRAY') && (@{$currnewattach} > 0)){
More information about the LON-CAPA-cvs
mailing list