Skip to content

Commit

Permalink
Added fix for firefox and IE as suggested by Stefan in #11 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
payammeyer committed Apr 12, 2016
1 parent a1617d7 commit 726463b
Showing 1 changed file with 38 additions and 7 deletions.
45 changes: 38 additions & 7 deletions core/src/main/java/gwtupload/client/Uploader.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.dom.client.AnchorElement;
import com.google.gwt.dom.client.FormElement;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
Expand Down Expand Up @@ -47,12 +48,7 @@
import com.google.gwt.xml.client.Node;
import com.google.gwt.xml.client.NodeList;
import com.google.gwt.xml.client.XMLParser;
import gwtupload.client.IFileInput.FileInputType;
import gwtupload.client.ISession.Session;
import gwtupload.client.IUploadStatus.Status;
import gwtupload.client.bundle.UploadCss;
import gwtupload.client.dnd.DragAndDropFormPanel;
import gwtupload.client.dnd.IDragAndDropFileInput;
import com.google.gwt.xml.client.impl.DOMParseException;

import java.util.ArrayList;
import java.util.Collection;
Expand All @@ -62,7 +58,42 @@
import java.util.List;
import java.util.logging.Logger;

import static gwtupload.shared.UConsts.*;
import gwtupload.client.dnd.DragAndDropFormPanel;
import gwtupload.client.dnd.IDragAndDropFileInput;
import static gwtupload.shared.UConsts.ATTR_BLOBSTORE_PARAM_NAME;
import static gwtupload.shared.UConsts.MULTI_SUFFIX;
import static gwtupload.shared.UConsts.PARAM_BLOBKEY;
import static gwtupload.shared.UConsts.PARAM_BLOBSTORE;
import static gwtupload.shared.UConsts.PARAM_CANCEL;
import static gwtupload.shared.UConsts.PARAM_FILENAME;
import static gwtupload.shared.UConsts.PARAM_NAME;
import static gwtupload.shared.UConsts.PARAM_REMOVE;
import static gwtupload.shared.UConsts.PARAM_SHOW;
import static gwtupload.shared.UConsts.TAG_BLOBSTORE;
import static gwtupload.shared.UConsts.TAG_BLOBSTORE_NAME;
import static gwtupload.shared.UConsts.TAG_BLOBSTORE_PARAM;
import static gwtupload.shared.UConsts.TAG_BLOBSTORE_PATH;
import static gwtupload.shared.UConsts.TAG_CANCELED;
import static gwtupload.shared.UConsts.TAG_CTYPE;
import static gwtupload.shared.UConsts.TAG_CURRENT_BYTES;
import static gwtupload.shared.UConsts.TAG_FIELD;
import static gwtupload.shared.UConsts.TAG_FILE;
import static gwtupload.shared.UConsts.TAG_FINISHED;
import static gwtupload.shared.UConsts.TAG_KEY;
import static gwtupload.shared.UConsts.TAG_MESSAGE;
import static gwtupload.shared.UConsts.TAG_MSG_END;
import static gwtupload.shared.UConsts.TAG_MSG_GT;
import static gwtupload.shared.UConsts.TAG_MSG_LT;
import static gwtupload.shared.UConsts.TAG_MSG_START;
import static gwtupload.shared.UConsts.TAG_NAME;
import static gwtupload.shared.UConsts.TAG_PERCENT;
import static gwtupload.shared.UConsts.TAG_SIZE;
import static gwtupload.shared.UConsts.TAG_TOTAL_BYTES;
import static gwtupload.shared.UConsts.TAG_WAIT;
import gwtupload.client.IFileInput.FileInputType;
import gwtupload.client.ISession.Session;
import gwtupload.client.IUploadStatus.Status;
import gwtupload.client.bundle.UploadCss;

/**
* <p>
Expand Down

0 comments on commit 726463b

Please sign in to comment.