added doc + reached 9999 LOC of JS :)

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-08-01 03:19:42 +04:00
parent c44dfee6f6
commit 88d3a3accf

View File

@ -483,6 +483,10 @@ var FIELD_TYPES = {
field.find('.path').val(p[0].path)
}
file.detach()
// focus+select the path...
// NOTE: this is here to enable fast select-open
// keyboard cycle (tab, enter, <select path>,
// enter, enter)...
field.find('.path')
.focus()
.select()