1 function compareDiffs(repo, path){
2 var f = document.theform;
10 for(var i=0,len=f.length;i<len;i++){
11 if(f[i].name == "sha1_a"){
16 if(f[i].name == "sha1_b"){
22 //document.location.href = [% c.uri_for("/" + repo + "/"+ sha1 + "/diff/" + sha2 + "/" + path) %];
23 document.location.href = "/" + repo + "/"+ sha1 + "/diff/" + sha2 + "/" + path;