Skip to content

Commit

Permalink
Merge pull request #58 from zhblue/master
Browse files Browse the repository at this point in the history
empty test run
  • Loading branch information
zhblue authored Aug 10, 2016
2 parents 6a029cd + 99336f1 commit 6bbafed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion trunk/web/template/bs3/submitpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ function do_test_run(){
if( handler_interval) window.clearInterval( handler_interval);
var loader="<img width=18 src=image/loader.gif>";
var tb=window.document.getElementById('result');
tb.innerHTML=loader;
if(typeof(eAL) != "undefined"){ eAL.toggle("source");eAL.toggle("source");}
if($("#source").val().length<10) return alert("too short!");
tb.innerHTML=loader;

var mark="<?php echo isset($id)?'problem_id':'cid';?>";
var problem_id=document.getElementById(mark);
problem_id.value=-problem_id.value;
Expand Down

0 comments on commit 6bbafed

Please sign in to comment.