瀏覽代碼

fix webkit refreshing after file upload

svn changeset:185/svn branch:toolkit
tags/6.7.0.beta1
Matti Tahvonen 17 年之前
父節點
當前提交
7824bde45f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      WebContent/themes/default/theme.js

+ 1
- 1
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.

Loading…
取消
儲存