Comments (1)
Firefox on Linux has the same problem. My tests on Mac and Linux were both
with version 9.0.1.
With a patch (below) to remove popup.hide() in UploadFormPopup, I can get
Firefox to send some data to the server, but it seems to be incorrectly
encoded. The local dev_appserver runs OOM trying to parse the data Firefox
sends.
Not investigating any further for now.
diff --git
a/src/com/google/walkaround/wave/client/attachment/UploadFormPopup.java
b/src/com/google/walkaround/wave/client/attachment/UploadFormPopup.java
index 063ebcc..8564ecb 100644
--- a/src/com/google/walkaround/wave/client/attachment/UploadFormPopup.java
+++ b/src/com/google/walkaround/wave/client/attachment/UploadFormPopup.java
@@ -27,6 +27,7 @@ import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiHandler;
import com.google.gwt.user.client.Event;
+import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.FileUpload;
import com.google.gwt.user.client.ui.FormPanel;
import com.google.gwt.user.client.ui.SubmitButton;
@@ -93,6 +94,8 @@ public final class UploadFormPopup {
FileUpload file;
@UiField
SubmitButton submit;
+ @UiField
+ Button cancel;
private final IFrameElement iframe;
private final HandlerReference onloadRegistration;
@@ -147,7 +150,7 @@ public final class UploadFormPopup {
private void destroy() {
onloadRegistration.unregister();
popup.hide();
- iframe.removeFromParent();
+ //iframe.removeFromParent();
stage = Stage.END;
log.log(Level.INFO, "end");
}
@@ -230,12 +233,12 @@ public final class UploadFormPopup {
@UiHandler("submit")
void handleSubmit(ClickEvent e) {
Preconditions.checkState(stage == Stage.HAVE_TOKEN);
- // The browser's default action can not be relied upon to submit the form,
- // because this handler is removing the form from the DOM, so a manual
- // submit is required (before hiding the popup).
e.stopPropagation();
form.submit();
- popup.hide();
+ //popup.hide();
+ submit.setEnabled(false);
+ file.setEnabled(false);
+ cancel.setEnabled(false);
stage = Stage.UPLOADING_FILE;
log.log(Level.INFO, "posting file");
if (listener != null) {
Original comment by [email protected]
on 15 Jan 2012 at 7:11
- Changed title: Attachment upload does not work in Firefox
from walkaround.
Related Issues (20)
- ERROR 500 over quota
- Export Walkaround Waves to another Walkaround Instance Functionality.
- Apply and commit: Write changes to the datastore after broadcasting them to clients
- error
- Page doesen't open
- Can't get into walkaround HOT 1
- not working
- not working
- Error 500, Internal server error HOT 2
- Replaces use of unsupported Search API methods with new ones HOT 9
- Error 500, Over quota
- Build fails after tweaks to third-party-deps
- not able to access wave walkaround server.
- Site Failure
- user over quota
- https://walk-test.appspot.com/ gone?
- server quota 500 internal server error
- Latest Business Plan
- Over Quota HOT 1
- I get a server error when I try to log in.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from walkaround.