starting on IE porting of xforms ui. most problems so far have to do with IE not supporting custom events the same way firefox does (and the way the spec recommends). other issue is that IE doesn't allow changing the type of a form input after it has been added to the DOM.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-12-17 21:21:37 +00:00
parent 3175254cb4
commit 98a57a97fa
2 changed files with 138 additions and 102 deletions

View File

@@ -29,14 +29,14 @@ function handle_upload_helper(fileInputElement,
form.appendChild(fileInputElement.cloneNode(true));
var id = document.createElement("input");
form.appendChild(id);
id.type = "hidden";
form.appendChild(id);
id.name = "upload-id";
id.value = uploadId;
var rp = document.createElement("input");
form.appendChild(rp);
rp.type = "hidden";
form.appendChild(rp);
rp.name = "return-page";
rp.value = "javascript:window.parent.upload_complete_helper('" + uploadId + "')";