aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.