Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    JS-Error in IE9

    Hi there,

    i have found a bug with uploadforms and IE 9.

    We are currently using the SmartClient_v91p_2014-05-11_Pro.
    The IE Version we tested on is IE 9.0.8112.16421 Update Version 9.0.21. We downloaded as VM from Microsoft. Sadly some of our customers are using IE9.

    This code does leed to a js-error "access denied" in IE9. IE10 and above doesn't seems to be affected wit our tested version. Also firefox and chrome doesn't have any problems with that code. You can paste it here. The problem seems to be on the "selectOnFocus" in DynamicForms in IE9.
    Code:
    isc.Window.create({	
    	"width" : 300,
    	"height" : 300,
    	"autoDraw" : true,
    	"title" : "theUploadForm",
    	"items" : [isc.VLayout.create({
    			"ID" : "layout_5",
    			"members" : [isc.DynamicForm.create({
    					"ID" : "fileUploadForm",
    					"autoFocus" : true,
    					"selectOnFocus" : true,
    					"fields" : [{
    							"ID" : "uploadItem_5",
    							"title" : "File",
    							"type" : "upload",
    							"readOnlyDisplay" : "static"
    						}, {
    							"ID" : "uploadButtonItem_5",
    							"fileUploaded" : function (p1) {console.log("test1")
    							},
    							"click" : function (p1, p2) {fileUploadForm.submitForm();},
    							"title" : "Upload",
    							"type" : "button"
    						}
    					],
    					"action" : "UploadTarget"
    				})]
    		})]
    });

    Best Regards

    #2
    Thanks for reporting this, this is now fixed for all versions 8.3 and more recent.

    Comment

    Working...
    X