1
0
forked from GitHub/gf-core
Commit Graph

9 Commits

Author SHA1 Message Date
hallgren
928c80e8a0 Improved keyboard input handling in minibar/phrasebook
1. The text input field is shown form the start, no need to click.
2. The text input field is removed when no more words can be added to the
   sentence.
3. When you press Enter, a word is added to the sentence (1) if there is only
   one possible completion left (e.g. if you typed "airp" and the only
   completion is "airport"), or (2) if what you typed exactly matches one
   of the completions (e.g. if you typed "the" and the completions are
   "the", "theatre" and "these").
2010-05-26 15:49:08 +00:00
hallgren
1ff6d92b17 Use <input type=button ...> instead of <div ...> tags for the word magnets. This should make them clickable in more browsers and could improve layout. 2010-05-26 11:47:15 +00:00
hallgren
76ee1a9f67 hide the language code if translating to only one target language 2010-05-21 10:43:19 +00:00
hallgren
87cc4d7624 Merge phrasebook.js into minibar.js 2010-04-30 14:55:56 +00:00
hallgren
14a053a81b Some work on minibar:
1. Menu for choosing target language.
2. Pass options when calling start_minibar.
See about.html for more details.
2010-04-19 16:48:26 +00:00
hallgren
be045d40fa Work in progress on keyboard input in minibar 2010-04-15 15:42:18 +00:00
hallgren
0b1a2bb20b Fix bug in get_grammarlist. Some code simplificaiton. 2010-04-15 13:33:21 +00:00
hallgren
1b4dd1df71 Abstract out grammar access method 2010-04-09 14:00:38 +00:00
hallgren
df6ab55915 Adding the Minibar files to the darcs repository. 2010-04-09 13:51:34 +00:00