1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 21:24:12 +01:00

Commandline completion for hinted file inputs

When an <input type="file"> is selected with hints, it will cause an
"Upload file: " prompt in the commandline. (Selection with tab and mouse
is left unchanged and will cause the firefox dialog to display)
This commit is contained in:
Conrad Irwin
2009-03-16 12:28:34 +00:00
parent c8a405cec5
commit 924aba8f54
3 changed files with 14 additions and 0 deletions

View File

@@ -1201,6 +1201,8 @@ function CommandLine() //{{{
* for the user's input.
* @... {string} promptHighlight - The HighlightGroup used for the
* prompt. @default "Question"
* @... {string} default - The initial value that will be returned
* if the user presses <CR> straightaway. @default ""
*/
input: function _input(prompt, callback, extra)
{