1 // THIS IS NOT USED - it is in the wrapper.tt as js is not parsed by TT (needed for the c.uri_for)
2 function compareDiffs(repo, path){
3 var f = document.theform;
11 for(var i=0,len=f.length;i<len;i++){
12 if(f[i].name == "sha1_a"){
17 if(f[i].name == "sha1_b"){
23 document.location.href = [% c.uri_for("/" + repo + "/"+ sha1 + "/diff/" + sha2 + "/" + path) %];