mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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 + "')";
|
||||
|
||||
|
Reference in New Issue
Block a user