289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
|
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
|
-
+
-
-
-
-
-
-
-
-
+
|
canvasDiv.className += " sel";
}else if( selRow==p ){
selRow = null;
this.className = this.className.replace(" sel", "");
canvasDiv.className = canvasDiv.className.replace(" sel", "");
}else{
if( tx.fileDiff ){
location.href=tx.baseUrl + "/fdiff?v1="+selRow.h+"&v2="+p.h+"&sbs=1";
location.href=tx.baseUrl + "/fdiff?v1="+selRow.h+"&v2="+p.h
}else{
/*
** if( db_get_boolean("show-version-diffs", 0)==0 ){
** @ location.href="%R/vdiff?from="+selRow.h+"&to="+p.h+"&sbs=0";
** }else{
** @ location.href="%R/vdiff?from="+selRow.h+"&to="+p.h+"&sbs=1";
** }
*/
location.href=tx.baseUrl+"/vdiff?from="+selRow.h+"&to="+p.h
location.href=tx.baseUrl + "/vdiff?from="+selRow.h+"&to="+p.h
}
}
}
function changeDisplay(selector,value){
var x = document.getElementsByClassName(selector);
var n = x.length;
for(var i=0; i<n; i++) {x[i].style.display = value;}
|