PDA

View Full Version : [FIXED] [2.0] Bug FileUploadField IE after reset not work



Webflash
10 Jul 2009, 12:41 PM
First choose file, then reset form after this can't choose again file only in IE (and host mode in Win)

public class BugGxt implements EntryPoint {
private FormPanel panel;
public void onModuleLoad() {
panel = new FormPanel();
FileUploadField fuf = new FileUploadField();
fuf.setFieldLabel("file upload");
panel.addButton(new Button("reset", new SelectionListener<ButtonEvent>() {
@Override
public void componentSelected(ButtonEvent ce) {
panel.reset();
}
}));
panel.add(fuf);
Viewport viewPort = new Viewport();
viewPort.setLayout(new FitLayout());
viewPort.add(panel);
RootPanel.get().add(viewPort);
}
}

sven
10 Jul 2009, 5:02 PM
Fixed in SVN.