Explorar el Código

fix webkit refreshing after file upload

svn changeset:185/svn branch:toolkit
tags/6.7.0.beta1
Matti Tahvonen hace 17 años
padre
commit
7824bde45f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      WebContent/themes/default/theme.js

+ 1
- 1
WebContent/themes/default/theme.js Ver fichero

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

Cargando…
Cancelar
Guardar