minor polishing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2015-02-14 03:37:24 +03:00
parent 6ff5d17c7b
commit cab455a463

View File

@ -125,7 +125,9 @@ function skipFiles(e, v){
function make(title){
var browser = $('<div>')
.addClass('browse')
// make thie widget focusable...
.attr('tabindex', -1)
// focus the widget if something inside is clicked...
.click(function(){
$(this).focus()
})
@ -367,7 +369,11 @@ $(function(){
.append(browser)
showPath(browser, '/', TREE)
$('.container').draggable()
$('.container').draggable({
cancel: ".path .dir, .list div"
})
browser.focus()
})
</script>