aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2006-12-29 12:59:15 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2006-12-29 12:59:15 +0000
commit7824bde45fead3ec6fe062cf1da5731c366e5ded (patch)
tree791babe7c32a52d0f05ed1f326b1afb7cac5c5fa
parent5590682a3062d51fb61fdffbdd21b1a128800f50 (diff)
downloadvaadin-framework-7824bde45fead3ec6fe062cf1da5731c366e5ded.tar.gz
vaadin-framework-7824bde45fead3ec6fe062cf1da5731c366e5ded.zip
fix webkit refreshing after file upload
svn changeset:185/svn branch:toolkit
-rw-r--r--WebContent/themes/default/theme.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebContent/themes/default/theme.js b/WebContent/themes/default/theme.js
index e9a8c40f3f..a552d994ce 100644
--- a/WebContent/themes/default/theme.js
+++ b/WebContent/themes/default/theme.js
@@ -2130,7 +2130,7 @@ DefaultTheme.prototype.renderUpload = function(renderer,uidl,target,layoutInfo)
};
} else {
iframe.onload = function() {
- if (ifr.document != null && (ifr.document.contentType == "application/xml")) {
+ if (ifr.document != null) {
iframe.onload = null;
client.processVariableChanges(true);
// FIXME next line is workaround to 'iframe is not instantly updated after upload is done' bug.