[PATCH 7/7] gitweb: Adapt gitweb.js to new git_treeview calling convention
---
Necessary changes for patch 5, if patch 6 is applied.
gitweb/gitweb.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gitweb/gitweb.js b/gitweb/gitweb.js
index 2e1a94d..51eeedb 100644
--- a/gitweb/gitweb.js
+++ b/gitweb/gitweb.js
@@ -105,8 +105,12 @@ function ToURL()
parts.push("a="+this.a);
if(this.f)
parts.push("f="+this.f);
+ else if(this.hb)
+ parts.push("f=");
if(this.fp)
parts.push("fp="+this.fp);
+ else if(this.hpb)
+ parts.push("fp=");
if(this.h)
parts.push("h="+this.h);
if(this.hp)
--
1.5.1.1.85.gf1888