version 1.531, 2015/03/07 23:13:09
|
version 1.533, 2015/04/10 08:22:21
|
Line 287 function setSubmittedPart (part,prefix)
|
Line 287 function setSubmittedPart (part,prefix)
|
} |
} |
} |
} |
|
|
|
function disableAutoComplete (id) { |
|
var field = document.getElementById(id); |
|
if (field != null && field != undefined){ |
|
if ('autocomplete' in field) { |
|
field.autocomplete = "off"; |
|
} else { |
|
field.setAttribute("autocomplete", "off"); |
|
} |
|
} |
|
} |
|
|
function image_response_click (which, e) { |
function image_response_click (which, e) { |
init_geometry(); |
init_geometry(); |
if (!e) { e = window.event; } //IE |
if (!e) { e = window.event; } //IE |
Line 800 sub template_dropdown_datastructure {
|
Line 811 sub template_dropdown_datastructure {
|
foreach my $title (sort @{$tmplthash{$cat}}) { |
foreach my $title (sort @{$tmplthash{$cat}}) { |
my $path = $tmpltcontent{$title}->[0]; |
my $path = $tmpltcontent{$title}->[0]; |
my $code; |
my $code; |
open(FH, "<$path"); |
open(FH, "<:encoding(UTF-8)", $path); |
while(<FH>){ |
while(<FH>){ |
$code.= $_ unless $_ =~ /(<problem>)|(<\/problem>)/; |
$code.= $_ unless $_ =~ /(<problem>)|(<\/problem>)/; |
} |
} |