diff --git a/ui (gen4)/experiments/browse-dialog.html b/ui (gen4)/experiments/browse-dialog.html index d82d306e..7abd4feb 100755 --- a/ui (gen4)/experiments/browse-dialog.html +++ b/ui (gen4)/experiments/browse-dialog.html @@ -125,7 +125,9 @@ function skipFiles(e, v){ function make(title){ var browser = $('
') .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() })