diff --git a/var/mongoose/cgi-bin/browse/browse.js b/var/mongoose/cgi-bin/browse/browse.js index 2510e9c5..f794f1b6 100755 --- a/var/mongoose/cgi-bin/browse/browse.js +++ b/var/mongoose/cgi-bin/browse/browse.js @@ -131,9 +131,9 @@ function preparemenu(el, menu) else $(menu).changeContextMenuItem('#enc', 'Set Enc'); - $('#optmenu').disableContextMenuItems('#crop'); } - else if (el.attr('bx') > 0) + + if (el.attr('bx') > 0) $('#optmenu').enableContextMenuItems('#crop'); else $('#optmenu').disableContextMenuItems('#crop'); diff --git a/var/mongoose/cgi-bin/browse/crop.jim b/var/mongoose/cgi-bin/browse/crop.jim index a326d8f7..a68246cd 100755 --- a/var/mongoose/cgi-bin/browse/crop.jim +++ b/var/mongoose/cgi-bin/browse/crop.jim @@ -65,7 +65,7 @@ puts "
File: | $rfile |
---|---|
Length: | [clock format $len -format "%T"] |
Size: | [pretty_size [$ts size]] |
Size: | [pretty_size [$ts size]] ([$ts get definition]) |
Bookmarks: | [$ts get bookmarks] @ " set flag 0 @@ -119,6 +119,7 @@ if {$start > 0} { set keepperc $($keeping * 100.0 / $len) set esttime $(int($keeping * 0.025)) +if {[$ts get definition] eq "HD"} { set esttime $($esttime * 4) } puts " @@ -131,16 +132,16 @@ puts " |