Hi I have error on my Surface extension for HTML5, when the extension load image from file, it call action when the file is loaded:
Code:
caseCRunSurface.ACT_LOAD_IMAGE_FROM_FILE_OVERRIDE_EXTENSION:                    
var url = act.getParamFilename(this.rh, 0);
                    this.oSurf.fileIOinProgress = true;
                    this.oSurf.loadFileImage(this.oSurf.selectedImage, url, () => {
                        this.oSurf.fileIOinProgress = false;
                        this.ho.generateEvent(CRunSurface.CND_ON_LOADING_SUCCEEDED, this.ho.getEventParam());
                    }, () => {
                        this.oSurf.fileIOinProgress = false;
                        this.ho.generateEvent(CRunSurface.CND_ON_LOADING_FAILED, this.ho.getEventParam());
                    });
                    break;

But there are an error with "generateEvent" function:
HTML Code:
Uncaught TypeError: Cannot read property 'evgFlags' of undefined    at CEventProgram.computeEventList (Runtime.js:29048)    at CEventProgram.handle_Event (Runtime.js:28812)    at CExtension.generateEvent (Runtime.js:36640)    at oSurf.loadFileImage.oSurf.fileIOinProgress (Runtime.js:53682)    at Image.img.onload (Runtime.js:50686)
Do you know this issue ?
Thanks.