Sfoglia il codice sorgente

fix webkit refreshing after file upload

svn changeset:185/svn branch:toolkit
tags/6.7.0.beta1
Matti Tahvonen 17 anni fa
parent
commit
7824bde45f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      WebContent/themes/default/theme.js

+ 1
- 1
WebContent/themes/default/theme.js Vedi File

@@ -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.

Loading…
Annulla
Salva