1
0
forked from GitHub/gf-core

Fixes to the GWT UI to be able to run it on other machines (still some hardcoded paths in the compilation).

This commit is contained in:
bjorn
2008-09-15 13:49:55 +00:00
parent aecf9597eb
commit eb15d88404
2 changed files with 15 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ import java.util.Set;
public class Translate implements EntryPoint {
private static final String gfBaseURL = "http://localhost/~bringert/gf-server/gf.fcgi";
private static final String gfBaseURL = "gf.fcgi";
private GF gf;
@@ -70,7 +70,6 @@ public class Translate implements EntryPoint {
oracle = new CompletionOracle(gf);
suggest = new SuggestBox(oracle);
suggest.setText("this cheese is warm");
suggest.addKeyboardListener(new KeyboardListenerAdapter() {
public void onKeyUp (Widget sender, char keyCode, int modifiers) {
if (keyCode == KEY_ENTER) {