diff --git a/CONTROL/control b/CONTROL/control index 73f1541..42d1725 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: sweeper Priority: optional Section: misc -Version: 2.0.15-1 +Version: 2.0.15-2 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: webif(>=1.2.5-10) diff --git a/webif/plugin/sweeper/edit.jim b/webif/plugin/sweeper/edit.jim index de52ad6..0b1c077 100755 --- a/webif/plugin/sweeper/edit.jim +++ b/webif/plugin/sweeper/edit.jim @@ -2,7 +2,7 @@ package require cgi source /mod/webif/lib/setup -require system.class plugin +require system.class browse.class plugin set dir [cgi_get dir ""] set root [system mediaroot] @@ -27,12 +27,7 @@ puts " $root " # Breadcrumb path -set stub "" -foreach part [split $dir /] { - if {$stub eq "/"} { set name $part } else { set name "/$part" } - append stub $name - puts "$name" -} +browse breadcrumb $dir puts {