Thank you for reporting this bug. We will make it our priority to review this report.
[5.0.0]: Second call of a window with the file upload field results in a error
[5.0.0]: Second call of a window with the file upload field results in a error
REQUIRED INFORMATION
Ext version tested:
Browser versions tested against:
- IE 11.0.12
- FF 32.0.2, firebug 2.0.4
- Opera 12.17
- Chrome 37.0.2062.120
- Safari 5.1.7
DOCTYPE tested against:
Description:
- If th file field is in a window, and the window has been closed, the second call of the window results in the error 'DOM element with id update_file-trigger-filebutton in Element cache is not the same as element in the DOM. Make sure to clean up Element instances using destroy()'.
- The window is configured with the option closeAction: 'destroy'
Steps to reproduce the problem:
- Create a window with a form with a file upload field.
- Use the option closeAction: 'destroy'.
- Show the window upon the button click.
- Call the window.
- Close it.
- Call the window again.
- The error 'DOM element with id update_file-trigger-filebutton in Element cache is not the same as element in the DOM. Make sure to clean up Element instances using destroy()' is reported in the console.
The result that was expected:
- No error should come upon the second call of the window.
The result that occurs instead:
- The error 'DOM element with id update_file-trigger-filebutton in Element cache is not the same as element in the DOM. Make sure to clean up Element instances using destroy()' comes.
HELPFUL INFORMATION
See this URL for live test case: http://ift.tt/1FlMP12
Debugging already done:
Possible fix:
[5.0.0]: Second call of a window with the file upload field results in a error
Aucun commentaire:
Enregistrer un commentaire