Unplanned
Last Updated: 23 Jan 2020 16:18 by ADMIN
CaseNet
Created on: 23 Jan 2020 09:43
Category: UI for ASP.NET AJAX
Type: Bug Report
0
A JavaScript error is thrown when the Print dialog is being disposed
A JavaScript error is thrown when the Print dialog is being disposed.
Error message:
Uncaught TypeError: Cannot read property 'dispose' of undefined

    at $IE.Print.dispose (<anonymous>:90:18)

 

Workaround:
Enable the external dialogs of the Editor/ImageEditor and modify dispose() function of the Print.ascx dialog:

 

Print.ascx

				dispose: function ()
				{
					this._attachHandlers(false);

					this._printBtn.dispose();
					this._cancelBtn.dispose();

					$IE.Print.callBaseMethod(this, "dispose");
				},

 

0 comments